# Adding GitLab (self-managed) organization to Xopero ONE

## Using Personal Access Token (PAT)

{% stepper %}
{% step %}
Log in to [**XMS**](#user-content-fn-1)[^1], open the **DevOps** tab on the left side of the window, and select **GitLab** from the list.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fw8tk1IOQhrlsBEbiosdc%2Fimage.png?alt=media&#x26;token=f4ffd90b-d787-4aad-b864-7176b362a2c7" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click the **Connect** button under **GitLab Self-managed**.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FYFzSu94MDGf3WWIaH7WS%2Fimage.png?alt=media&#x26;token=afe4b6eb-8f6b-474e-836e-0497c604a673" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Set your authentication method.

1. In **Authentication**, select **GitLab Self-Managed**.
2. In **Settings**, enter your **GitLab** service IP address.
3. Add or select **PAT** from the **Password Manager**.
4. Choose whether **Xopero** should automatically add new repositories to your backup and whether it should include **GitLab** groups in the backup.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2FPBW1ufu4ufv1d7GyHE01%2Fimage.png?alt=media&#x26;token=cfc3a611-9ccf-456a-9621-ca22da33d7c4" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Configure your repository sync and default worker. Specify hours for synchronization, or set a time interval for automatic updates.

<figure><img src="https://319733277-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F0CBTl43C3OO6ySL1DJ6k%2Fuploads%2Fxao0KkYPmITcz661POOw%2Fimage.png?alt=media&#x26;token=eb8b7bc6-b555-4db7-b22b-4c036a87d414" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click **Proceed** to complete adding your **GitLab** (self-managed) organization and grant **Xopero ONE** access to the specified resources.
{% endstep %}
{% endstepper %}

[^1]: Xopero ONE Management Service
