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
-
Login to http://github.com as Enterprise Admin
-
Go to Profile → Settings → Developer Settings → Personal access tokens (classic)
-
Click Generate new token (classic)
-
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
-
-
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.
-
Go to your organisation's settings on GitHub
-
Navigate to Settings → Verified & approved domains — see GitHub documentation
-
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.
-
Find the token you just created (mavvrik-github-copilot)
-
Click Configure SSO next to the token
-
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
-
Go to the Menu
-
Click on Admin → Accounts → GenAI Accounts
-
Click the + Account button
-
Select Copilot
-
Enter Enterprise Slug & Personal Access Token
-
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.