Creating the Github API token

Github works with Personal Access tokens. In most cases, you don’t want to use your main account to get access to the API. Therefore, Github recommends to create a bot account.

Creating a bot account

Creating a bot account is exactly the same as creating a normal account on Github. Head over to the Sign up page and create an account. We’ll use this account to generate a personal access token. You can either create the repositories on this account, or give the bot account access to an existing repository.

Creating a personal access token

Follow the steps in the link below to generate a personal access token:

https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token

  • Your personal access token requires the ‘repo’ scope.

Done! Make sure to store or copy this access token in a safe place.

Shopping Cart