GitHub Copilot Onboarding

Currently, only GitHub Enterprise Cloud accounts at the enterprise level are supported.

Before onboarding your GitHub Enterprise Cloud account, log in to http://github.com as an Enterprise Admin and follow the steps below.

Step 1: Create a Personal Access Token

  1. Login to http://github.com as Enterprise Admin

  2. Go to Profile → Settings → Developer Settings → Personal access tokens (classic)

  3. Click Generate new token (classic)

  4. Fill in the token details:

    • Set Note to mavvrik-github-copilot

    • Set Expiration as per your organisation's security policy

    • Select the following scopes: read:enterprise, read:org, read:user

  5. Click Generate token and copy it — you will not be able to see it again

Step 2: Verify Your Organisation's Domain

Required for Mavvrik to map Copilot users to their corporate email addresses. Skip if your organisation already has a verified domain.

  1. Go to your organisation's settings on GitHub

  2. Navigate to Settings → Verified & approved domains — see GitHub documentation

  3. Add and verify your company domain (e.g. http://yourcompany.com )

Step 3: Authorize the Token for SSO

Required for Mavvrik to fetch corporate email addresses for your Copilot users.

  1. Go to github.com/settings/tokens

  2. Find the token you just created (mavvrik-github-copilot)

  3. Click Configure SSO next to the token

  4. Click Authorize next to your organisation name

Step 4: Get Your Enterprise Slug

Navigate to your GitHub Enterprise settings, select the enterprise account you want to connect, and copy the Enterprise Slug from the browser URL.

Example: https://github.com/enterprises/<your-enterprise-slug>

Step 5: Onboard in Mavvrik

  1. Go to the Menu

  2. Click on Admin → Accounts → GenAI Accounts

  3. Click the + Account button

  4. Select Copilot

  5. Enter Enterprise Slug & Personal Access Token

  6. Click Connect

After onboarding is completed, allow up to 24 hours for data ingestion. Once ingestion is complete, cost will be visible under GenAI > Assistants > Cost.