![](<https://live.versio.io/doc/img/integration/gitlab.svg>)

# GitLab integration

Versio.io can create and close an incident ticket in GitLab.

## Configuration

You can add and configure an action for GitLab for each 'Alerting &amp; action' entry in the 'Actions' section. The following configuration options are required:

| Field | Description | Example |
| --- | --- | --- |
| **Server URL** | The base URL of your GitLab instance. | `https://my-domain.com` |
| **Project name or ID** | The name or identifier (ID) of the GitLab project. You can find the ID under `Settings` -\> `General`. | `162` |
| **Credential** | A GitLab API token with write access. Create the token under `Settings` -\> `Access tokens` and create a credential in Versio.io under `Environment settings` -\> `Access management` -\> `Credential vault`. |  |

*Table: GitLab integration configuration parameters*

Click `Save` to apply the modifications.

The following image is an example of a GitLab configuration:

![Versio.io GitLab integration configuration](<https://docs.versio.io/img/integration/gitlab-integration.png>)

*Figure: Example of a Versio.io GitLab integration configuration*
