Slack
Each agent can have a Slack app of its own, so you can talk to it from Slack. Unlike Discord, where one bot serves every agent, Slack is set up agent by agent: one agent's app can be in one Slack workspace and another agent's in a different one.
Connecting an agent to Slack
- Open the agent, then Settings, then Access, and find the Slack card.
- Press Make the Slack app. Slack opens its own page with the app already described. Choose your Slack workspace, press Next, then Create.
- In the new app, open Basic Information, find App-Level Tokens and press Generate. Give it any name, add the scope
connections:write, and copy the token. It begins withxapp-. - Open Install App, install it to your Slack workspace, and copy the Bot User OAuth Token. It begins with
xoxb-. - Paste both tokens into the Slack card and press Connect. DAC keeps them encrypted on your computer.
- DAC shows a six-digit code. In Slack, open a direct message with the agent's bot and send it that code. The card notices by itself and shows who the agent now listens to.
Who the agent listens to
Only the person who sent the pairing code. Anyone else who writes to the bot gets no answer, and their presses on approval buttons do nothing. To change who it listens to, disconnect and connect again.
Talking to the agent in Slack
Write to the bot in your direct message with it. That goes into the same conversation the dashboard shows. When the agent needs permission, the question arrives with buttons.
The bot also understands these commands. They begin with !, because Slack keeps / for itself.
| Command | What it does |
|---|---|
!status | Says what the agent is doing |
!start, !stop, !restart | Start, stop or restart the agent |
!new | Begins a new conversation |
!cancel | Stops the reply being written |
!help | Lists these commands |
What the Slack app can see
Only the direct messages people send to its bot. It cannot read channels or anything else in your Slack workspace.
Disconnecting
Press Disconnect Slack… on the card and confirm. DAC closes the connection and forgets both tokens and the person it listened to. Deleting the agent does the same.