GitHub Reference Documentation

https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a -personal-access-token#creating-a-fine-grained-personal-access-token

https://github.blog/2022-10-18-introducing-fine-grained-personal-access-tokens-for-github/#:~:text=Personal access tokens (classic) are,are allowed to live forever.

Creating a Personal Access Token

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

access-settings.png

Step 2: In the left sidebar, click  Developer settings.

developer-settings.png

Step 3: In the left sidebar, under  Personal access tokens, click Fine-grained tokens. Then click Generate new token at the top right of screen.

generate-token.png

Step 4: Configure Token

  1. Under Token name, enter a name for the token. You should put a name that helps you remember how this token is being used (ex., neo-tax-integration).

    Screenshot 2024-08-28 at 3.16.27 PM.png

  2. Under Resource owner, change dropdown to your organization name (not your user).

    1. Note, below we show neo-tax as an example of an organization. Your organization will have your own organization’s name.

    Screenshot 2024-08-28 at 3.18.28 PM.png

  3. Under Repository access, select which repositories you want the token to access. You should choose the minimal repository access needed.

    1. The simplest solution is to select All repositories.
    2. If you choose Only select repositories, then select the individual repositories that you want the token to access.

    Screenshot 2024-08-28 at 3.19.19 PM.png

  4. Under Permissions, select the following:

    Screenshot 2024-08-28 at 3.14.33 PM.png