Quick summary
A GitHub personal access token is required to authenticate API requests and third-party integrations securely. This guide walks you through every step to generate and copy your token directly from GitHub Settings.
Steps
- Click on your profile icon in the top right corner.
- From the drop-down menu, select Settings.
- Scroll down the left sidebar and click on Developer settings.
- Click on Personal access tokens.
- Select Tokens.
- Click on Generate new token.
- Select either Generate new token (classic) or Generate new token (fine-grained) based on your needs.
- Give your token a note to remember what it's for.
- Scroll down and click Generate token.
- Click the copy icon to copy the token immediately after it is created, as it will only be shown once.



