Why this matters: GitHub is licensed per seat at the enterprise level, but seat count alone doesn't tell you whether it's actually being used, or by whom. Connecting your GitHub Enterprise account here brings usage and cost into Mavvrik's SaaS Cost dashboards, alongside the rest of you spend.
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.
Configuration steps
Step 1: Create a Personal Access Token
GitHub billing usage endpoints do not support fine-grained personal access tokens (PATs).
For more information, see the GitHub REST API Prerequisites documentation.
-
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
-
Set Expiration as per your organization'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 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 users.
-
Find the token you just created (mavvrik-github- )
-
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 → SaaS
-
Click the + Account button
-
Select
-
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 SaaS > Cost.
Troubleshooting
-
If the account does not connect, verify the token and enterprise slug entered in Mavvrik.
-
If authorization fails, confirm that the token is authorized for SSO and has the permissions described above.