Skip to main content

LibreChat is joining ClickHouse. Learn more

LibreChat

Slack

Connect LibreChat agents to Slack, choose between organization workspaces and a manual connection, and see what the Slack integration supports.

Talk to a LibreChat agent from Slack: mention it in a channel, message it directly, and approve its tool calls without leaving the conversation. Each person links their own LibreChat account once, and the agent then works with their permissions.

Beta

The Slack integration needs a running channel gateway and a transaction-capable database. Ask your LibreChat operator whether it is enabled before you start.

Operators start here

The gateway must be running before anything on these pages works. Follow Deploy the gateway first.

Choose a setup path

Your operator decides which path is available. Organization workspaces are enabled with SLACK_WORKSPACES_ENABLED=true; otherwise the Agent Builder offers the manual setup.

Organization workspacesManual connection
Set up byAn organization administrator in Settings → Account → SlackAn agent owner in the Agent Builder
Slack appsExisting app, registered with its credentialsNew app per agent, created from a manifest
Agents per botOne default agent plus one per channelOne
Who can use itEvery member who links their accountEvery member, or only the connection owner
GatewayOne shared gateway, public HTTPSOne gateway per connection, Socket Mode or HTTPS
Slack workspacesOne active workspace per registered appThe workspace you install the app in

Who does what

Operator runs the gateway and enables the required permissions. Deploy the gateway.

Administrator registers the Slack app, installs it, and grants bot management access. Connect a Slack workspace.

Agent owner assigns an agent to the bot, as a default or for a specific channel, and grants Remote Access to its users. Assign agents.

Every participant links their account the first time and then asks away. Use agents in Slack.

What the integration supports

CapabilitySupportedNotes
Mentions in channelsYesIn any channel the bot has been invited to.
Direct messagesYesRequires the app's Messages tab.
Follow-ups in a threadYesIn channels, mention the bot in the thread reply.
Tool approvals and agent questionsYesPrivate to the requester. Sign-ins open LibreChat in the browser.
Stop a running requestYesOnly the requester can stop their request.
Code, tables, links, and files in answersYesLong answers are split, very long ones are shortened with a notice.
Charts, cards, and carouselsYesWith the rich message format.
Feedback reactionsYes👍 and 👎 on a reply, when feedback collection is enabled.
Slack native agent status and StopOptionalSee native agent sessions.
Files and images sent to the botNoOnly message text reaches the agent. A message with an attachment may be ignored entirely.
Reading earlier thread messagesNoThe agent sees the message that mentions it.
Slash commands, App Home, shortcutsNo
Enterprise Grid organization-wide installsNoInstall per workspace, with token rotation off.

Slack app permissions

Both setup paths use the same bot permissions. The manual manifest includes them automatically; for an organization app you add them yourself.

Bot token scopeWhy it is needed
app_mentions:readReceive messages that mention the bot
chat:writePost progress messages and answers
im:historyReceive direct messages sent to the bot
im:writeOpen a direct conversation with a person when needed
files:writeUpload files the agent returns
reactions:readReceive 👍 and 👎 feedback on replies
reactions:writeAdd optional progress reactions
Bot eventWhy it is needed
app_mentionA person mentioned the bot
message.imA person sent the bot a direct message
reaction_added, reaction_removedFeedback on a reply changed
app_uninstalled, tokens_revokedThe app was removed from Slack (organization workspaces)
agent_session_stoppedSlack's own Stop button was used (optional native sessions)

No user token scopes are needed. LibreChat checks the granted scopes during installation and rejects an install that is missing any of the seven above.

Next steps

How is this guide?