# Adding Azure DevOps Server to GitProtect

#### Adding an Azure DevOps Server to GitProtect connects your projects and repositories to the platform, enabling seamless backup management and secure data protection.

***

## Using a Personal Access Token (PAT)

{% hint style="warning" %}
**Azure DevOps Server** (self-managed, on-premise) does not support **OAuth** and requires a **personal access token**.
{% endhint %}

{% stepper %}
{% step %}
Log in to **GitProtect Management Service**, open the **DevOps** tab on the left side of the window, and select **Azure DevOps** from the list.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FvujqA8A8N5Sww986ZdWl%2Fimage.png?alt=media&#x26;token=e126c808-8be7-42a1-bb42-2e68e25879be" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click the **Connect** button under **Azure DevOps Server**.
{% endstep %}

{% step %}
Set your authentication method.

1. In **Authentication**, select **Azure DevOps Server**.
2. Enter the **service address** of your **Azure DevOps Server** (IP or DNS name, including the protocol).
3. Add or select **PAT** from the **Password Manager**.
4. Choose whether **GitProtect** should automatically add new repositories to your backup.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FqLm5t3bLqwaW2fKcSArE%2Fimage.png?alt=media&#x26;token=bcb05000-e603-43ac-9720-afb236c33e5a" 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.

{% hint style="warning" %}
Cloud workers cannot access local network storage. Choose a device with the necessary access if backing up locally.
{% endhint %}

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2F2j2SyHYY3cJjLhT2TARM%2Fimage.png?alt=media&#x26;token=b93551ea-e679-4fc3-8952-d19e1edce307" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click **Proceed** to complete adding your **Azure DevOps Server** organization and grant **GitProtect** access to the specified resources.
{% endstep %}

{% step %}
Your **Azure DevOps Server** organization has now been successfully added to **GitProtect**. Click **Custom policy** to adjust your backup policy settings, or click **Run backup** to execute the backup immediately using the current policy configuration.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2FQrtVfwas72qMhhhbjEmj%2Fimage.png?alt=media&#x26;token=53e0344b-e5be-44da-8cd9-db9318b5e629" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}
