Slack
Source
Polytomic connects to Slack using a Bot User OAuth Access Token. This requires first creating a Slack app
-
Go to the Slack App site.
-
Click Create an App.
-
Give the app a name and select the workspace you want to sync data from.
-
Click Create App.
-
Add the following OAuth Scopes to the list of Bot Token Scopes:
channels:history
channels:join
channels:read
files:read
groups:read
links:read
reactions:read
remote_files:read
remote_files:write
team:read
useergroups:read
users.profile:read
users:read
users:read.email
-
Install the app to your workspace.
-
After successfully installing the app to your workspace, copy the *Bot User OAuth Access Token presented to you.
-
In Polytomic, go to Connections → Add Connection → Slack.
-
Paste the Bot User OAuth Access Token from Step 7 in the Bot API key field.
- Click Save.
Ingesting Slack events
If you want to ingest Slack's real-time events using Polytomic's Bulk Syncs, you'll need to perform additional configuration in the Slack app you set up above after the Polytomic Slack connection is saved.
- Turn on the Enable Events switch in the Event Subscriptions section of your Slack app config:
- Copy the Event Subscription Request URL from your saved Polytomic Slack connection and paste it in the Request URL field above. You can also use your own URL as long as you implement a
301
HTTP redirect to your Polytomic Slack connection's event subscription request URL. - Click Add Bot User Event to specify the list of Slack events that Polytomic should ingest.
- Once you've saved your new Slack application config, you'll be able to add the collection Events to your Polytomic bulk sync config. You'll then receive all Slack events you added in Step 3.
Updated 7 months ago