> For the complete documentation index, see [llms.txt](https://docs.hivel.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hivel.ai/integrations/ai-tools/github-copilot-integrations/enterprise-plan-reauthorization.md).

# Enterprise plan (Reauthorization)

Reauthorize your GitHub Copilot Enterprise integration when your credentials expire or permissions change.

### **Important**

Use a Copilot admin account with access to all relevant workspaces.

### **In GitHub, Create Personal Access Token:**

1. In the upper-right corner, click your profile photo → **Settings**.

![](https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FyXfCt06tHAT9PjFU3Eho%2Funknown.png?alt=media\&token=a52c5ce6-4756-4a24-a40d-b0b66bf3068c)

2. In the left sidebar, click **Developer settings** → **Personal access tokens** → **Tokens (classic)**.

![](https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FT85BZkkMP9YMF7vKKzdi%2Funknown.png?alt=media\&token=931915aa-ade6-40ca-8560-349ced5baf30)

![](https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2F4jhsHU1UmTbbZhl8FqLN%2Funknown.png?alt=media\&token=e924efd3-0a8f-4e9e-8f16-4d79db4d1930)

3. Click **Generate new token (classic)**.
4. Name it (e.g., "Hivel Copilot Enterprise").
5. Set an expiration date if needed.
6. Select these scopes:
   * **Copilot:** `manage_billing:copilot`
   * **Admin Enterprise:** `manage_billing:enterprise`, `read:enterprise`
   * **Admin Org:** `read:org`, `read:user`
7. Click **Generate token** and copy it.

### **In Hivel:**

1. Go to **Settings** → **Integrations** tab.

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FBmr0wKVXridd3vsOMGf0%2FScreenshot%202026-08-18%20at%205.28.40%E2%80%AFPM.png?alt=media&amp;token=bcb84e79-eca3-470e-a077-ac43462fb941" alt=""><figcaption></figcaption></figure>

2. Find **Copilot** and click **Reauthorize**.

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FLN4GY5tobo9lnEcxAblv%2FScreenshot%202026-08-19%20at%203.52.57%E2%80%AFAM.png?alt=media&amp;token=74b1da81-e252-4e0c-ad11-7aad3a314f7a" alt=""><figcaption></figcaption></figure>

3. Select **Enterprise plan** and click **Continue**.

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FR2oVTFvA144PQZhOjYbm%2FScreenshot%202026-08-31%20at%207.03.09%E2%80%AFPM.png?alt=media&amp;token=685de53a-175a-4724-b71d-64a376fdd0b5" alt=""><figcaption></figcaption></figure>

4. Paste the PAT and your enterprise slug(the unique name that appears after `/enterprises/` in your GitHub Enterprise URL. For Example, `github.com/enterprises/<slug>`). \
   Then verify GitHub admin access, and click **Continue**.<br>

<figure><img src="https://3057781534-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F5KAIOUWph0JLSgQqbzyT%2Fuploads%2FalSdKMKv8pNpcu2nTdU1%2Fimage.png?alt=media&amp;token=e54679b2-0dec-4b74-bf95-3e4502bbb59f" alt=""><figcaption></figcaption></figure>

### **Important**

Data syncs within 24 hours for the past 90 days.

### **What Happens Next**

Your metrics will refresh once sync is complete.

#### **To continue setting up your integrations** → [Back to Integrations](/integrations.md)
