GitHub Copilot Integration
minware can integrate with the GitHub Copilot enterprise usage metrics API to track Copilot adoption and usage across your organization.
Prerequisites
An enterprise admin must enable the Copilot usage metrics policy under AI Controls > Copilot and set it to Enabled everywhere. See Managing policies for Copilot in your enterprise.
Enterprise Slug
You will need your GitHub enterprise slug. This is the identifier that appears in your enterprise URL: https://github.com/enterprises/{slug}.
Create a Personal Access Token
Option 1: Fine-Grained Token (Recommended)
- Go to GitHub Token Settings and click Generate new token
- Set the Resource owner to your enterprise
- Under Permissions, set Enterprise Copilot metrics to Read
- Click Generate token and copy the value
Option 2: Classic Token
- Go to GitHub Token Settings and click Generate new token (classic)
- Select the
manage_billing:copilotorread:enterprisescope - Click Generate token and copy the value
Note: The token must belong to an enterprise owner, billing manager, or a user with the View Enterprise Copilot Metrics permission.
Connect in minware
- In minware, go to Settings > Integrations
- Under AI Usage API, click GitHub Copilot
- Enter your enterprise slug and API token
- Click Add GitHub Copilot