--- title: "How to generate a GitHub classic personal access token" slug: "how-to-generate-a-github-classic-personal-access-token" description: "Generating a Github classic personal access token is necessary when migrating personal repos from Github to Allspice. Learn how to do it here." tags: ["github", "access tokens", "PAT"] updated: 2026-10-23T18:49:24Z published: 2026-10-23T18:49:24Z canonical: "learn.allspice.io/how-to-generate-a-github-classic-personal-access-token" --- > ## Documentation Index > Fetch the complete documentation index at: https://learn.allspice.io/llms.txt > Use this file to discover all available pages before exploring further. # How to generate a GitHub classic personal access token If you are migrating a personal repo from GitHub to Allspice, you will most likely need a GitHub classic personal access token. ## Generating token 1. Log into github.com. 2. Click on the icon in the upper right corner, and then click on Settings ![Screen Shot 2023-03-27 at 11.55.19 AM.png](https://cdn.document360.io/3d44af5c-3f49-4ca5-b152-10836a885c13/Images/Documentation/Screen%20Shot%202023-03-27%20at%2011.55.19%20AM.png) 3. Click on "Developer settings" on the left menu. ![Screen Shot 2023-03-27 at 11.55.30 AM.png](https://cdn.document360.io/3d44af5c-3f49-4ca5-b152-10836a885c13/Images/Documentation/Screen%20Shot%202023-03-27%20at%2011.55.30%20AM.png) 1. Select Personal access tokens -> Tokens (classic) ![Screen Shot 2023-03-27 at 11.55.43 AM.png](https://cdn.document360.io/3d44af5c-3f49-4ca5-b152-10836a885c13/Images/Documentation/Screen%20Shot%202023-03-27%20at%2011.55.43%20AM.png) 1. Click on "Generate new token (classic)". ![Screen Shot 2023-03-27 at 11.56.04 AM.png](https://cdn.document360.io/3d44af5c-3f49-4ca5-b152-10836a885c13/Images/Documentation/Screen%20Shot%202023-03-27%20at%2011.56.04%20AM.png) 1. Enter a token name, and check all the scopes you want to include. You must at least include Repo. We recommend leaving all of repo checked. ![Screen Shot 2023-03-27 at 11.56.53 AM.png](https://cdn.document360.io/3d44af5c-3f49-4ca5-b152-10836a885c13/Images/Documentation/Screen%20Shot%202023-03-27%20at%2011.56.53%20AM.png) 1. Copy the generated access token to a secure place. It will only be displayed once. ![Screen Shot 2023-03-27 at 11.57.04 AM.png](https://cdn.document360.io/3d44af5c-3f49-4ca5-b152-10836a885c13/Images/Documentation/Screen%20Shot%202023-03-27%20at%2011.57.04%20AM.png)