---
title: "Connect Slack"
site: admin
version: 1.11
versions: "all"
url: https://docs-new.servicely.ai/admin/1.11/messaging/slack/
type: task
application: integration_slack
last_updated: 2026-11-24
commit: 88e011e506a8
---


Connect Slack when people in your Slack workspace should reach Servicely AI agents from direct messages, group messages and channel threads. This task is for administrators of both Servicely and the Slack workspace.

## Before you begin

- You need the `administrator` role in Servicely.
- The Slack Integration application (`integration_slack`) is installed. It adds an inactive messaging account named "Slack" and an API outbound token named "Slack bot token" of type Bearer. See [Applications](page:platform/applications).
- You can create and install apps in the Slack workspace.

## Steps

<Steps>
  <Step>
    In Slack, create an app for your workspace. Copy its signing secret and its bot token[UNVERIFIED].
  </Step>
  <Step>
    In Servicely, open the API outbound token "Slack bot token". Keep **Type** as Bearer, enter the Slack bot token[UNVERIFIED] and save.
  </Step>
  <Step>
    Go to **Administration → Messaging → Messaging accounts** and open "Slack". Check that **Provider** is Slack.
  </Step>
  <Step>
    Paste the Slack signing secret into **App secret**. Select "Slack bot token" in **Outbound API token**. Set **Active** to **Yes** and save. Note the record's ID.
  </Step>
  <Step>
    Build the three Servicely endpoints from your instance address, the path `/_messaging/v3/slack/` and the record ID. The table below lists them.
  </Step>
  <Step>
    In the Slack app, enter the events endpoint as the event subscription request URL[UNVERIFIED]. Servicely answers Slack's verification challenge automatically.
  </Step>
  <Step>
    Enter the interactivity endpoint as the app's interactivity request URL[UNVERIFIED]. Without it, buttons such as "Close this conversation" appear in Slack but do nothing.
  </Step>
  <Step>
    Optionally, create the slash commands `/newchat`, `/clear` and `/endchat` with the commands endpoint as their request URL.
  </Step>
  <Step>
    Install the app to the workspace, then send the app a direct message to test the connection.
  </Step>
</Steps>

| Endpoint | Path after the instance address | Receives |
| --- | --- | --- |
| Events | `/_messaging/v3/slack/` followed by the record ID | Messages from direct messages, group messages and channels |
| Interactivity | The events path followed by `/interactivity` | Button presses |
| Commands | The events path followed by `/commands` | Slash commands |

<Callout type="info">
  Servicely checks every request's signature with the signing secret and rejects requests whose timestamp is more than five minutes old. Keep the signing secret in **App secret** current if you regenerate it in Slack.
</Callout>


## Result

Messages to the Slack app reach Servicely, and replies come back in the same direct message, group message or channel thread. Typing `/newchat` closes the current conversation. Outbound notifications can also use the Slack provider type.

## Related

- [Create a messaging account](page:messaging/messaging-accounts)
- [Outbound notifications](page:messaging/outbound-notifications)
- [Outbound credentials](page:integrations/outbound-credentials)
