Open In App

How to Generate Personal Access Token in GitHub?

Last Updated : 07 Sep, 2022
Improve
Improve
Like Article
Like
Save
Share
Report

Personal access tokens (PATs) are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line. You can create a personal access token to use in place of a password when you are working with GitHub Operations. To generate the personal access token follow the following steps.

Step by Step Implementation

Step 1: Click on the profile image of your GitHub account

Step 1: Click on the profile image of your GitHub account

 

Step 2: Click on Settings

Step 2: Click on Settings

 

Step 3: Click on <> Developer Settings

 

Step 4: Click on Personal access tokens

Step 4: Click on Personal access tokens

 

Step 5: Click on Generate new token

Step 5: Click on Generate new token

 

Step 6: Add Note and Expiration for your token

Step 6: Add Note and Expiration for your token

 

Step 7: Select all of the scopes

Step 7: Select all of the scopes

 

Step 8: Your Personal access token is created successfully

Step 8: Your Personal access token is created successfully

 


Like Article
Suggest improvement
Share your thoughts in the comments

Similar Reads