Github Copilot - Enterprise
Here are the steps to enable Copilot Metrics API access and generate a GitHub Classic token with the necessary permissions:
Steps to Enable Copilot Metrics API Access
Go to GitHub Enterprise Settings:
Navigate to the following URL in your browser:
https://github.com/enterprises/{name}/settings/copilot
Replace
{name}
with your organization's name on GitHub.
Enable Copilot Metrics API Access:
Look for the option "Enable access to the Copilot Metrics API" under the Copilot settings.
Toggle the setting to ON.
Save Settings:
After enabling the access, make sure to click Save settings to apply the changes.
Steps to Generate a Classic Token with Copilot Access
Navigate to GitHub Settings:
In the upper-right corner of any page on GitHub, click your profile photo.
In the dropdown menu, click Settings.
Go to Developer Settings:
In the left sidebar, click Developer settings.
Generate a Personal Access Token (Classic):
In the left sidebar, click Personal access tokens.
Then click on Tokens (classic).
Click Generate new token and select Generate new token (classic).
Fill Out Token Information:
In the "Note" field, provide a descriptive name for the token, such as Hivel Copilot.
Set an expiration date for the token, if needed.
Select the required scopes/permissions for the token, including:
Under Copilot:
manage_billing:copilot
Under Admin Enterprise:
manage_billing:enterprise
read:enterprise
Under Admin Org:
read:org
read:user
Generate the Token:
After selecting the required scopes, click Generate token.
Copy and Share the Token:
Once the token is generated, copy it to your clipboard.
Share the token with us for further processing.
Data will be in sync within 24 hours.
Last updated
Was this helpful?