# Adding GitHub Enterprise organization to GitProtect

## Using Personal Access Token (PAT)

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

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fa7MqaUS62GXpPu5C0qRb%2Fimage.png?alt=media&#x26;token=ccdaa83e-2e66-44c0-842c-2b835ec20b36" alt="" width="227"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click the **Connect** button under **GitHub Enterprise Server**.

<figure><img src="https://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-89d089c8d69b3622c17a336f0979635f0682e625%2Fimage%20(1040).png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Set your authentication method.

1. In **Authentication**, select **GitHub Enterprise Server**.
2. In Settings, enter your **GitHub** IP address and add or select **PAT** from the **Password Manager**.
3. Choose whether **GitHub** 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%2Fgit-blob-617a76bc74e9e09ad8f617b215954f4a0dc62b97%2Fimage%20(1041).png?alt=media" 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://696332517-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtsE6XtJyUIEKVdSxPlS3%2Fuploads%2Fgit-blob-5ab58a4516d8c4e632f19414df90102f4b3256ba%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

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

{% step %}
Your **GitHub** organization has now been successfully added to **GitProtect**. Click **Customize policy** to adjust your backup policy settings, or click **Run now** to execute the backup immediately using the current policy configuration.
{% endstep %}
{% endstepper %}
