Generate a Personal Access Token on GitHub

Let us now generate a personal access token for the repositories in the Git account. A personal access token on GitHub functions like an OAuth access token and authenticates the access to the GitHub API.

You can generate a personal access token on GitHub in the following way:

  1. Navigate to your Git account settings, then Developer Settings. Click the Personal access tokens menu, then click Generate new token. catalyst_gitbot_access_token_1

  1. Select repo as the scope. The token will be applicable for all the specified actions in your repositories. catalyst_gitbot_access_token_2

  1. Click Generate Token. GitHub will display the personal access token only once. Ensure that you copy the token and store it in a safe space. catalyst_gitbot_access_token_3

We will use this token in the Integration function’s code, which will enable Catalyst to fetch necessary information about the repositories from GitHub.

Last Updated 2023-12-15 18:54:08 +0530 +0530

RELATED LINKS

GitHub Integration