๐ Quickstart
Connect to Slack with Nango and see data flow in 2 minutes.Create the integration
In Nango (free signup), go to Integrations -> Configure New Integration -> Slack.
Authorize Slack
Go to Connections -> Add Test Connection -> Authorize, then log in to Slack. Later, youโll let your users do the same directly from your app.
Call the Slack API
Letโs make your first request to the Slack API (fetch a list of channels in a Slack team). Replace the placeholders below with your secret key, integration ID, and connection ID:Or fetch credentials with the Node SDK or API.โ
Youโre connected! Check the Logs tab in Nango to inspect requests.
- cURL
- Node
Implement Nango in your app
Follow our Auth implementation guide to integrate Nango in your app.To obtain your own production credentials, follow the setup guide linked below.
๐ Slack Integration Guides
Nango maintained guides for common use cases.-
How to register your own Slack OAuth app
Register an OAuth app with Slack and obtain credentials to connect it to Nango -
How to setup webhooks with Slack on Nango
Set up Slack Events API webhooks to receive real-time workspace events -
Slack user access tokens in Nango
How to get, and use, Slack user access tokens with Nango
๐งฉ Pre-built syncs & actions for Slack
Enable them in your dashboard. Extend and customize to fit your needs.Channels
| Function name | Description | Type | Source code |
|---|---|---|---|
channels | Sync conversations allowed by granted scopes - public/private channels, DMs, and group DMs | Sync | ๐ Github |
Messages
| Function name | Description | Type | Source code |
|---|---|---|---|
messages-received | Sync messages, thread replies, and reactions for conversations the bot can access; fully backfill new channels, then resync the last 10 days using channelsLastSyncDate metadata. | Sync | ๐ Github |
Users
| Function name | Description | Type | Source code |
|---|---|---|---|
users | Sync all workspace users including deactivated accounts with email and profile fields | Sync | ๐ Github |
Others
| Function name | Description | Type | Source code |
|---|---|---|---|
conversations | Sync Slack conversations including channel members | Sync | ๐ Github |