How to Create a Personal Access Token in Github
Creating a Personal Access Token (PAT) in GitHub allows you to access your GitHub account from the command line or third-party tools securely. Here’s how to create one:
- 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.
This website uses cookies to ensure you get the best experience on our website. Learn More
Got it