Enterprise plan (Integration)
Hivel integrates with GitHub Copilot Enterprise to track adoption and usage metrics. You enable the Metrics API, create a Personal Access Token (PAT), and connect in Hivel. Then metrics flow automatically.
Prerequisites
Your organization has GitHub Copilot Enterprise
You have an enterprise or organization owner account, or a custom role with "View organization Copilot metrics" permission
You have your enterprise's URL slug (the unique name that appears after
/enterprises/in your GitHub Enterprise URL. For Example,github.com/enterprises/<slug>)
In GitHub, Enable Metrics API:
Log in to GitHub and go to your Enterprise account.
In the enterprise navigation bar, click AI Controls.
In the left sidebar, click Copilot.
Scroll to the Metrics section and find Copilot usage metrics.
Set it to Enabled everywhere and save.
In GitHub, Create Personal Access Token:
In the upper-right corner, click your profile photo → Settings.

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


Click Generate new token (classic).
Name it (e.g., "Hivel Copilot Enterprise").
Set an expiration date if needed.
Select these scopes:
Copilot:
manage_billing:copilotAdmin Enterprise:
manage_billing:enterprise,read:enterpriseAdmin Org:
read:org,read:user
Click Generate token and copy it.
In Hivel:
Go to Settings → Integrations tab.
Find Copilot and click Connect.

Select Enterprise plan and click Continue.

Paste the PAT and your enterprise slug, verify GitHub admin access, and click Continue.

GitHub Copilot is integrated

Important
Data syncs within 24 hours for the past 90 days.
What Happens Next
You'll see adoption metrics in your Copilot dashboard once sync is complete.
To continue setting up your integrations → Back to Integrations
Last updated