How to integrate my GitHub account?
Overview
To authenticate, you need:
- Personal Access Token (PAT)
Step 1: Generate Personal Access Token
- Login to GitHub – Navigate to GitHub.com and sign in to your account
- Access Settings – Click your profile photo in the upper-right corner, then select Settings from the dropdown menu
- Navigate to Developer Settings – In the left sidebar, scroll down and click Developer settings
- Access Personal Access Tokens – In the left sidebar, under Personal access tokens, click Tokens (classic). For enhanced security, you can also use Fine-grained tokens (beta)
- Generate New Token – Click Generate new token, then select Generate new token (classic)
- Configure Token Settings:
- Note: Enter a descriptive name (e.g., "Project Integration API")
- Expiration: Choose an appropriate expiration period. For security, avoid "No expiration". Recommended: 90 days or less
- Select Required Scopes:
- repo – Full repository access
- admin:repo_hook – Repository webhook management
- admin:org_hook – Organization webhook management
- read:user – Read user profile data
- user:email – Access user email addresses
- Generate and Save Token – Click Generate token. Copy the token immediately – it won't be shown again. Store it securely.