Skip to main content
Applies to BloodHound Enterprise and CE This page covers creating a Fine-grained Personal Access Token (PAT) for GitHound. PATs have a rate limit of 5,000 API requests per hour.
For higher rate limits, see Configure a GitHub App Installation.

Create a Fine-grained Personal Access Token

1

Navigate to Personal Access Tokens

Navigate to your GitHub Profile > Settings.
GitHub profile settings menu
2

Open Developer Settings

Go to Developer settings (bottom left).
Developer settings in GitHub profile
3

Go to Fine-grained Tokens

Navigate to Personal access tokens > Fine-grained tokens.
Fine-grained tokens in Developer settings
4

Generate a new token

Click Generate new token.
Generate new fine-grained token page
5

Set resource owner

Set the Resource owner to your target organization.
6

Configure the access scope

Under Repository access, select All repositories.
Select All repositories for token access
7

Configure the repository and org permissions

Configure the required repository and organization permissions to Read-only.
Token permissions configuration
8

Generate the token

You must save the token value (preferably in a password manager) at this point. You will not be able to recover it later.
Click Generate token and copy the token value.
Copy the generated token
For organizations with SAML SSO enabled, you must authorize the PAT for SSO access after creating it.

Next Steps

After creating a token, proceed to configure the collector to start collection.