GitHub Setup Guide
GitHub Setup Guide
Prerequisites
- An active GitHub account with permission to create Personal Access Tokens for the organization and repositories you want to sync.
Note: GitHub enforces a rate limit of 5,000 requests/hour per account, not per token - all personal access tokens from the same GitHub account share one quota, so generating several tokens on the same account will not raise the limit. If you're syncing a large organization (many repositories or a high commit volume), add tokens from multiple different GitHub accounts in Matia - see Step 2 below.
Setup Guide
Step 1: Obtain a GitHub Personal Access Token
- Sign in to GitHub.
- Click your profile photo in the top-right corner, then click Settings.
- In the left sidebar, click Developer settings.
- Click Personal access tokens → Tokens (classic).
- Click Generate new token → Generate new token (classic).
- Enter a descriptive Note, e.g.
Matia Integration. - Set an Expiration for the token.
- Under Select scopes, check repo and read:org.
- Click Generate token.
- Copy the generated token now - GitHub will not show it again.
Tip: To avoid rate limiting on large syncs, repeat Step 1 to generate additional tokens - ideally from 4-5 different GitHub accounts with access to the organization - and add all of them in Matia in Step 2. Matia will rotate across the provided tokens automatically.
Step 2: Complete Configuration in Matia
- Under Access Tokens, click + Add and enter the token you generated. Click + Add again to enter additional tokens, if you generated more than one.
- Enter the Organization name.
- Enter an Asset Name.
- (Optional) Enter a Description.
- (Optional) Assign Tags.
- Select an Owner.
- Verify that your GitHub account is successfully connected by clicking on Test Connection.
- Click Connect.