Slack
The Kapa platform provides an integration to ingest past conversations from Slack channels as a data source. Community Slack channels contain a lot of helpful information often in the form of support answers team members have provided. However, Slack channels are not meant for archiving information for other users. Great answers are not useful to anybody except the original poster because other users can not effectively search Slack. Kapa offers a way of making your past conversations on Slack useful to everyone by indexing them as a data source.
Prerequisites
- Admin access to a Slack workspace
- Ability to create a new Slack app in your workspace
- Channel ID for the channel(s) you want to ingest
Data ingested
When you connect Kapa to Slack, the following data is ingested:
- Thread URLs
- Initial thread messages and replies
Permissions required
The following permissions are required for your Slack app:
Permission | Purpose | Security considerations |
---|---|---|
channels:history | Access messages in public channels | Read-only access to message content |
channels:read | View basic channel information | Read-only access to channel metadata |
groups:history | Access messages in private channels | Read-only access to private channel content |
groups:read | View private channel information | Read-only access to private channel metadata |
metadata.message:read | Access message metadata | Read-only access to message data |
team:read | Access workspace information | Read-only access to workspace data |
users:read | Access user information | Read-only access to user profiles |
Setup
Step 1: Create a Slack app
- Navigate to your Slack Apps
- Click Create New App
- Select the appropriate workspace under Pick a workspace to develop your app in
It is not sufficient to have the Kapa Slackbot installed. You need your own separate slack app.
Step 2: Give the app the correct permissions
- Navigate to the OAuth & Permissions page
- Add the following OAuth scopes:
channels:history
channels:read
groups:history
groups:read
metadata.message:read
team:read
users:read
Step 3: Install the app to your workspace
- On the OAuth & Permissions page, click Install to Workspace
- Authorize the app when prompted
- Copy the Bot User OAuth Token (begins with
xoxb-
)
Step 4: Choose a channel
- Pick a channel you would like Kapa to ingest
- Find the channel ID at the bottom of the channel details

If you want to export multiple channels, repeat this step for each channel. You will have to create a separate source in the Kapa platform for each channel. You can use the same bot token for each source.
Step 5: Invite your bot to the channel
- This step might not always be necessary depending on the configuration of your Slack workspace
- Invite the slack app to the channel by typing
/invite @<bot-name>
- This is always required if the channel is
private