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

  1. 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.

  2. 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.

  3. 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

  1. Navigate to GitHub Settings:

    • In the upper-right corner of any page on GitHub, click your profile photo.

    • In the dropdown menu, click Settings.

  2. Go to Developer Settings:

    • In the left sidebar, click Developer settings.

  3. 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).

  4. 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

  5. Generate the Token:

    • After selecting the required scopes, click Generate token.

  6. 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?