GitHub

How can I create a Personal Access Token on GitHub?

Romina Kavcic

Here are the steps to create a personal access token on GitHub

  1. Log in to GitHub:

    • Open your web browser and go to GitHub.

    • Log in to your GitHub account.

  2. Navigate to Settings:

    • In the upper-right corner of any page, click your profile photo, then click Settings.



  3. Access Developer Settings:

    • In the left sidebar, click Developer settings.

  4. Personal Access Tokens:

    • In the left sidebar, click Personal access tokens.

    • Click Tokens (classic) or Fine-Grained (currently in beta)

  5. Generate New Token:

    • Click the Generate new token button.

  6. Configure Token:

    • Give your token a descriptive name (where are you going to use it?)

    • Expiration: Set an expiration date for your token. It's recommended to set an expiration date to limit the token's lifespan.

    • Scopes: Select the scopes or permissions you'd like to grant this token. For example, if you need to access repositories, select the repo scope. Choose public or private. Then choose the repository.

  7. Generate Token:

    • After configuring the token, click the Generate token button at the bottom of the page.

    • You will get something like: 4699w08et90edsfkjfskdgasf44aasf

  8. Copy Token:

    • Copy the token now. You won't be able to see it again.

    • Store it securely.


Example Usage

To integrate GitHub with Tokens Studio, you need to add a personal access token (PAT) to authenticate and access your GitHub repositories. This allows you to sync design tokens between Tokens Studio and your GitHub repository.

I'm Romina Kavcic. I coach design teams on implementing design systems, optimizing design processes, and developing design strategy.

I'm Romina Kavcic. I coach design teams on implementing design systems, optimizing design processes, and developing design strategy.