Overview
nOps uses a GitHub personal access token (classic) plus your organization slug and/or enterprise slug to pull billing, usage, and seat data into Inform. Credentials are stored securely, validated before save, and are not shown again after you connect. nOps reads:- Cost & usage — metered spend by product, SKU, repository, and day (Actions, Codespaces, Packages, Git LFS/Storage, Copilot, GHAS, …).
- Copilot attribution — premium-request and AI-credit consumption per user and model, plus Copilot seat assignments.
- Members & seats — your organization member roster (paid user seats) and, for enterprise connections, per-user consumed licenses.
Only admins and owners can connect, re-validate, or disconnect in nOps. Members see Admin Only on connectable cards.
Required access
The token owner must be an organization owner or billing manager (for org connections) and/or an enterprise administrator or billing manager (for enterprise connections). Your account must be on GitHub’s enhanced billing platform (required for the billing usage REST endpoints). nOps organization administrator access is required to connect.Token scopes
Select these scopes when creating your classic PAT:read:org— organization billing/usage and member rostermanage_billing:copilot— Copilot seats & billing (only if you use Copilot)read:enterprise— required for enterprise connections (enterprise billing usage and consumed licenses)
Create the token
- Sign in to GitHub as an org owner/billing manager or enterprise admin/billing manager.
- Go to Settings → Developer settings → Personal access tokens → Tokens (classic).
- Click Generate new token (classic), add a note (for example
nOps Integration), and set an expiration. - Select
read:org,manage_billing:copilot(if you use Copilot), andread:enterprise(for enterprise connections). - Generate and copy the token immediately — it is shown only once.
Connect in nOps
Where to open GitHub
- To connect for the first time — go to Settings → Integrations and click the GitHub card.
- To manage an existing connection — go to Settings → Account Status → Connected apps and click the GitHub chip to re-validate or disconnect.
Connect steps
- Click the GitHub card or chip.
- Paste your classic personal access token.
- Enter your Organization slug and/or Enterprise slug (at least one is required).
- Click Connect.
Manage your connection
Administrators can Re-validate or Disconnect from the modal. Rotate the token in GitHub before expiry and update the connection in nOps.Troubleshooting
- Invalid token — confirm the token owner has a billing role and the token is a classic PAT with the right scopes.
- No enterprise data / 403 on enterprise — regenerate a classic PAT with
read:enterpriseand an enterprise billing role. - No Copilot or member data — add
manage_billing:copilot/read:orgto your classic PAT. Missing these skips those datasets but does not block cost/usage. - Missing org or enterprise — enter at least one slug so nOps knows which account to report on.
- No billing data — your organization or enterprise may not yet be on the enhanced billing platform; verify in GitHub billing settings.
- No data in Inform — allow up to 24 hours after connecting for the first sync.