For the complete documentation index, see llms.txt. This page is also available as Markdown.

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:

  1. Log in to GitHub and go to your Enterprise account.

  2. In the enterprise navigation bar, click AI Controls.

  3. In the left sidebar, click Copilot.

  4. Scroll to the Metrics section and find Copilot usage metrics.

  5. Set it to Enabled everywhere and save.

In GitHub, Create Personal Access Token:

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

  1. In the left sidebar, click Developer settingsPersonal access tokensTokens (classic).

  1. Click Generate new token (classic).

  2. Name it (e.g., "Hivel Copilot Enterprise").

  3. Set an expiration date if needed.

  4. Select these scopes:

    • Copilot: manage_billing:copilot

    • Admin Enterprise: manage_billing:enterprise, read:enterprise

    • Admin Org: read:org, read:user

  5. Click Generate token and copy it.

In Hivel:

  1. Go to SettingsIntegrations tab.

  2. Find Copilot and click Connect.

  1. Select Enterprise plan and click Continue.

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

  1. 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 integrationsBack to Integrations

Last updated