GitHub Token Setup
Follow these simple steps to generate your Personal Access Token
The 20metrics app requires a GitHub Token to function. You need to generate this token from your GitHub account to allow the app to access and analyze your repository data.
Go to Developer Settings
Log in to GitHub and navigate to your Settings. Scroll down to the bottom of the left
sidebar and click on Developer settings.
Alternatively, click this direct link: Generate New Token
Create Classic Token
Select Personal access tokens > Tokens (classic) from the sidebar. Then click the Generate new token button and select Generate new token (classic).
Configure Token
Give your token a descriptive name (e.g., "20metrics").
Select Scopes
This is the most important part. You need to select the following scopes:
- ☑ repo (Full control of private repositories)
- ☑ read:org (Read-only access to organization membership)
Generate and Copy
Scroll to the bottom and click Generate token.
Copy your new token immediately! You won't be able to see it again once you
leave the page.
Finally, paste the copied token into the 20metrics app to start your analysis.
Authorize Organization
If your organization is managed by SSO, you additionally need to authorize that
organization.
Click Configure SSO and then Authorize on GitHub.