Skip to main content

Personal Access Token (Classic):

Personal access tokens are an alternative to using passwords for authentication to GitHub when using the GitHub API or the command line.

Personal access tokens are intended to access GitHub resources on behalf of yourself. To access resources on behalf of an organization, or for long-lived integrations, you should use a GitHub App.

Steps to generate PAT:โ€‹

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

  2. Screenshot of a user's account menu on GitHub. The menu item Settings is outlined in dark orange.

gitToken1

  1. In the left sidebar, click Developer settings.

  2. In the left sidebar, under Personal access tokens, click Tokens (classic).

  3. Click Generate new token.

  4. Under Token name, enter a name for the token.

  5. Under Expiration, select an expiration for the token.

  6. Minimum Required permissions to use PAT on Katonic Platform: repo, read:org, read:user

gitToken2

After the Token generation, Please copy the token and use it in the Katonic platform.

gitToken3

  1. Refresh the Github token page and You will see the something like this:

gitToken4