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/slack | Learn to configure credentials for the Slack node in n8n |
Slack
You can use these credentials to authenticate the following nodes with Slack.
Prerequisites
Create a Slack 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 Slack account to n8n. :::
- Access your Slack workspace.
- Click on your workspace name in the top left.
- Click the 'Settings & administration' option, and then 'Manage apps'.
- Click on the 'Build' button in the top right.
- Click on the 'Start Building' button if this is your first Slack app, else click on the 'Create New App' button.
- Enter an app name and select your desired workspace.
- Scroll down and you will see your authentication information under the App Credentials section.
- Copy and paste Client ID and Client Secret in the Slack OAuth2 API credentials in n8n.
- Click on the 'Permissions' button in the Add features and functionality section.
- Copy the 'OAuth Callback URL' provided in the 'Slack OAuth2 API' credentials in n8n.
- Click on the Add New Redirect URL in the Redirect URLs section in the Slack OAuth & Permissions page.
- Paste the 'OAuth Callback URL' in the field and click on the Save URLs button.
- Scroll down and add any scopes you plan to use under the User Token Scopes section.
- If you're building a bot, add the required scopes for the bot under the Bot Token Scopes section.
- Click on the circle button in the OAuth section to connect a Slack account to n8n.
- Click the Save button to save your credentials in n8n.
Using Access Token
- Access your Slack workspace.
- Click on your username in the top left.
- Click the 'Settings & administration' option, and then 'Manage apps'.
- Click on 'Build' in the top right.
- Click on the 'Start Building' button if this is your first Slack app, else click on the 'Create New App' button.
- Enter an app name and select your desired workspace.
- Click on the 'Permissions' button in the Add features and functionality section.
- Scroll down and add any scopes you plan to use under the User Token Scopes section.
- If you're building a bot, add the required scopes for the bot under the Bot Token Scopes section.
- Use your Verification Token with your Slack node credentials in n8n.

