GitHub is an internet hosting service for software development and version control using Git.
Resource configuration and set-up
To add a GitHub resource, you need to add your PAT (personal access token).
- api_url - usually this does not need changing and can be left at the default value of https://api.github.com.
- personal_access_token - this is a personal access token linked to your GitHub account. Refer to the link below for how to generate a PAT.
Getting the access token
- In the upper-right corner of any page, click your profile photo, then click Settings.
- In the left sidebar, click Developer settings.
- In the left sidebar, under Personal access tokens, click Tokens (classic).
- Select Generate new token, then click Generate new token (classic).
- In the "Note" field, give your token a descriptive name.
- To give your token an expiration, select Expiration, then choose a default option or click Custom to enter a date.
- Select the scopes you'd like to grant this token. To use your token to access repositories from the command line, select repo. A token with no assigned scopes can only access public information. For more information, see "Scopes for OAuth apps." on Github Documentation.
- Click Generate token.
- Optionally, to copy the new token to your clipboard
For more details you can refer to the following help articles: