# Slack

> Sync messages from selected Slack channels into an agent's knowledge.

Source: https://docs.runbear.io/agents/knowledge/slack

Last updated: 2026-08-26

Sync messages and threads from selected Slack channels so your agent can answer recurring questions based on past conversations.

## How it works

Runbear connects to your Slack workspace via OAuth and indexes messages from the channels you select. The agent searches this conversation history at query time, so it can answer questions that have already been discussed in Slack — without anyone needing to dig through old threads.

Runbear periodically checks for new messages and updates the index automatically.

## Setup

1. Open your agent in the Runbear dashboard and go to the **Knowledge** tab.
2. Select **Slack**.

![Select Slack](/img/team-agent/knowledge-base/slack-sync-component.png)

3. Click **Connect Slack** — authorize Runbear to access your workspace.
4. Select which channels to sync. You can optionally set a start date to limit how far back the sync goes.

![Slack channel picker](/img/team-agent/knowledge-base/slack-sync-sheet.png)

5. Click **Save**. Runbear begins the initial sync.

> **Note**
>
> Connect only the channels that are essential for your agent to answer questions. Fewer, more relevant channels lead to more accurate responses.

## What gets synced

- Messages and threads from the channels you select
- New messages are picked up automatically on each sync cycle
- Deleted messages are removed from the index

## Sync timing

The initial sync time depends on the volume of messages in your selected channels. Subsequent syncs are incremental and much faster.
