mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2025-11-20 17:48:34 +00:00
| .. | ||
| README.md | ||
| using-access-token.gif | ||
| using-oauth.gif | ||
| permalink | description |
|---|---|
| /credentials/github | Learn to configure credentials for the GitHub node in n8n |
GitHub
You can use these credentials to authenticate the following nodes with GitHub.
Prerequisites
Create a GitHub account.
Using OAuth
::: tip ⛅️ Note for n8n.cloud users You'll only need to enter the Credentials Name and click on the circle button in the OAuth section to connect your GitHub account to n8n. :::
- Access your GitHub dashboard.
- Click on your user icon in the top right.
- Click on Settings.
- Click on Developer settings.
- Select OAuth Apps.
- Click on the Register a new application button.
- Enter the Application name and Homepage URL.
- Copy the OAuth Callback URL from n8n and paste it in the Authorization callback URL field.
- Use the provided Client ID and Client Secret with your GitHub node credentials in n8n.
- Click on the circle button in the OAuth section to connect a GitHub account to n8n.
- Click the Save button to save your credentials in n8n.
Using Access Token
- Access your GitHub dashboard.
- Click on your user icon in the top right.
- Click on Settings.
- Click on Developer settings.
- Select Personal access tokens.
- Click on Generate new token.
- Select the relevant scopes from the Select scopes section.
- Click on the Generate token button.
- Use the Personal access token with your GitHub node credentials in n8n.
- Click the Save button to save your credentials in n8n.

