# How to Create a Personal Access Token in Github

> To generate a Personal Access Token in GitHub, click your profile icon, open Settings, and navigate to Developer settings. Select Personal access tokens, choose Tokens, and click Generate new token. Choose a token type, add a note, generate the token, and copy it immediately.

Canonical: https://livedemo.ai/tutorials/how-to-create-a-personal-access-token-in-github/
Apps: GitHub
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a3792ab56e05a00fdd0dc/preview?step=1

## Steps

1. Click on your profile icon in the top right corner.
2. From the drop-down menu, select 'Settings'.
3. Scroll down the left sidebar and click on 'Developer settings'.
4. Click on 'Personal access tokens'.
5. Select 'Tokens'.
6. Click on 'Generate new token'.
7. Select either 'Generate new token (classic)' or 'Generate new token (fine-grained)' based on your needs.
8. Give your token a note to remember what it's for.
9. Scroll down and click 'Generate token'.
10. Click the copy icon to copy the token immediately after it is created, as it will only be shown once.
