Docs/Candor Deploy
Chat apps: Slack, Discord, Teams and Telegram
Connect a bot so your team can check projects, redeploy and talk to their own assistant from Slack, Discord, Microsoft Teams or Telegram, with each person's own permissions.
A chat app connection puts a bot in Slack, Discord, Microsoft Teams or Telegram. Your team can then list projects, check the latest deploy, redeploy or restart, and talk to their own assistant, without leaving the conversation.
The bot does not share anyone’s access. Each person links their own Candor Deploy account and approves what the bot may do for them.
The bot’s command is /candor. Bots set up before November 2026 used /openship, which still works, so you don’t need to change an existing bot. Slack bots keep the slash commands you created in Slack, so add /candor there if you want the new name.
How it works
- You create a bot with your chat provider and save its credentials in Candor Deploy, with the exact channels or chats it may answer in.
- You enable the bot. New connections start paused.
- Each person sends
/candor linkand approves permissions in the dashboard. - They can then use the commands. Talking to the assistant is a separate opt-in (see Talk to your assistant).
Open Settings, then Chat apps, to add a connection. Only workspace owners and admins can add or change one.
Choose the bot’s role
When you add a connection, choose what the bot does:
- Control plane: project, status, logs, restart and redeploy commands. No AI is involved.
- Assistant: conversations with each person’s own connected assistant.
Choose one or both. /candor help only shows the commands for the roles you chose. If you want separate bots for deploy commands and for the assistant, create a separate bot with your provider for each connection.
Connection method
Slack, Discord and Telegram default to Direct connection: Candor Deploy connects out to the provider, so there is no URL to configure on the provider’s side. Microsoft Teams always uses Webhook: you copy the connection’s Bot webhook URL into the bot’s settings. You can choose Webhook for the others too, but use one method per bot, never both.
Link your account
- In an allowed channel, send
/candor link. The bot sends instructions, then a separate message with a link. - Open the link, sign in, pick the same workspace, and approve the permissions. Read-only is enough for projects, status and logs; restart and redeploy need write access.
- The dashboard gives you a
/candor verify <code>command. Send it from the same chat account, in the same conversation, within five minutes.
Opening someone else’s link does not link your chat account to their access. To stop, send /candor unlink. The grant is also listed under Settings, then MCP, where you can change or revoke it.
Slack
Replies to slash commands are private to the person who sent them.
- At api.slack.com/apps, create an app for your workspace. Use a new app just for this connection.
- In OAuth & Permissions, add the bot scopes
commandsandchat:write. Install the app and copy the Bot User OAuth Token (xoxb-…). - Turn on Socket Mode. In Basic Information, under App-Level Tokens, create a token with
connections:writeand copy it (xapp-…). - Find your workspace ID (
T…) in Slack’s browser address, and each channel’s ID (C…) in its details. Invite the bot to those channels. - In Slash Commands, create
/candor. With Socket Mode on, no request URL is needed. Usehelpas the usage hint. - In the dashboard, open Settings, then Chat apps, choose Slack, and fill in:
| Field | Value |
|---|---|
| Slack workspace ID | The T… ID. |
| Bot token | The xoxb-… token. |
| Socket Mode app token | The xapp-… token. |
| Allowed channel IDs | The channel IDs, separated by commas (up to 20). |
- Press Save connector, then Enable bot, and wait for Connected.
- In an allowed channel, send
/candor help, then link your account.
Slash commands do not work inside threads; use the channel’s message box.
Command suggestions. Slack shows one entry per slash command, so separate commands such as /candor-projects and /candor-status can be added too. From the connection’s menu, open Native commands, press Update connector, then Copy definitions, and merge them into features.slash_commands in the Slack app’s App Manifest. Repeat after you change the bot’s roles.
Mentions and direct messages for the assistant. Add the scope app_mentions:read (and im:history for direct messages), turn on Event Subscriptions with the bot event app_mention (and message.im), and reinstall the app. Add the direct conversation’s D… ID to the allowed channel IDs. Mention the bot in thread replies too, so Slack passes them on.
Webhook instead. Choose Webhook, enter the app’s Signing secret from Basic Information, save and enable, then use the Bot webhook URL as the slash command’s request URL. Turn Socket Mode off for that app.
If it does not answer: check the app is installed, the connection is enabled and connected, the channel ID is in the allowed list, and both the bot and you are in the channel.
Discord
Replies are private to the person who sent the command.
- In the Discord Developer Portal, create an application just for this connection.
- In General Information, copy the Application ID. Leave Interactions Endpoint URL empty.
- In Bot, create the bot and copy its token. Keep it private.
- Install the app on your server with the
applications.commandsandbotscopes. Do not give it Administrator. - In Discord, turn on Developer Mode under User Settings, then Advanced. Right-click your server to copy its ID, and each allowed channel to copy its ID.
- In the dashboard, open Settings, then Chat apps, choose Discord, and fill in:
| Field | Value |
|---|---|
| Discord server ID | Your server’s ID. |
| Application ID | From General Information. |
| Bot token | From Bot. |
| Allowed channel IDs | The channel IDs, separated by commas. |
- Press Save connector, then Enable bot, and wait for Connected.
The /candor command is registered in your server when you enable or save the connection. Type /candor and pick a subcommand, such as projects or ask; Discord asks for its argument. If an older bot’s menu is out of date, choose Native commands, then Refresh command menu, from the connection’s menu.
Only slash commands reach the bot. Ordinary channel messages and direct messages are not read.
Webhook instead. Choose Webhook, enter the Application public key from General Information, save and enable, then paste the Bot webhook URL into the app’s Interactions Endpoint URL. To go back to a direct connection, clear that URL in Discord first.
If it does not answer: check that Interactions Endpoint URL is empty (for a direct connection), the channel ID is allowed, and members have Discord’s Use Application Commands permission there.
Teams
Replies are visible to everyone in the conversation. Use a personal chat with the bot for anything private.
Teams needs more setup than the others. You need to be able to register an app in Microsoft Entra, create an Azure Bot, and install a custom app in your Teams tenant. You also need the conversation.id and serviceUrl from a real message sent to the bot, so you need a way to read one incoming bot message before you point the bot at Candor Deploy.
- Create a single-tenant app in Microsoft Entra. Note its Application (client) ID and Directory (tenant) ID.
- Under Certificates & secrets, create a client secret and copy its Value (not its ID).
- Create an Azure Bot with that application ID and tenant, as single-tenant, and turn on the Microsoft Teams channel.
- In the Teams Developer Portal, create a Teams app, add the bot by its application ID, and install it where you need it.
- Send the bot a message and, from that incoming message, note
conversation.idandserviceUrl(a Microsoft address undersmba.trafficmanager.netorsmba.infra.teams.microsoft.com). A channel link is not the same thing. - In the dashboard, open Settings, then Chat apps, choose Microsoft Teams, and fill in:
| Field | Value |
|---|---|
| Microsoft Entra tenant ID | The directory (tenant) ID. |
| Bot application ID | The application (client) ID. |
| Client secret | The secret’s value. |
| Teams connector service URL | The serviceUrl you noted. |
| Allowed conversation IDs | The conversation.id values, separated by commas. |
- Press Save connector, then Enable bot.
- Copy the connection’s Bot webhook URL into the Azure Bot’s Messaging endpoint and save.
- In a personal chat with the bot, send
/candor help. In a channel, mention the bot first.
Multi-tenant bots and government clouds are not supported. Conversations with different service URLs need separate connections.
If requests are rejected: check the tenant and application IDs, the exact conversation ID and service URL, and whether the client secret has expired.
Telegram
Replies are visible to everyone in the chat. Start with a private chat with the bot if project details should stay private.
- In Telegram, open BotFather, send
/newbot, and keep the token it gives you private. Use a new bot just for this connection. - Send your new bot a message. For a group, add the bot and send
/candor@YourBot help. - Find the chat ID: in a terminal, run the command below with your token, and read
message.chat.idfor the right chat. Group IDs are negative; keep the minus sign. Do not share the full output.
curl "https://api.telegram.org/bot<YOUR_TOKEN>/getUpdates"
- In the dashboard, open Settings, then Chat apps, choose Telegram, keep Direct connection, and fill in:
| Field | Value |
|---|---|
| Bot token from BotFather | The token. |
| Allowed chat IDs | The chat IDs, separated by commas. |
- Press Save connector, then Enable bot, and wait for Connected. Stop running
getUpdatesyourself from now on. - Send
/startand tap Connect account, or send/candor link.
Telegram gets a command menu: type / to pick commands such as /projects, /status or /ask. /projects shows buttons for each project; Restart and Redeploy buttons still need Confirm. In a group, address the bot: /projects@YourBot. Buttons only work for the person who asked for them.
A bot that already has a webhook set cannot use a direct connection. Use a new bot, or remove the old webhook only if nothing else depends on it. Only one connection may use a bot at a time.
Webhook instead. Choose Webhook, enter a random Webhook secret of 16 or more letters, numbers, _ or -, save and enable, then register the Bot webhook URL with Telegram’s setWebhook, using the same secret as secret_token and allowed_updates set to ["message","callback_query"].
If it does not answer: check the chat ID (it can change when a group becomes a supergroup), that the connection is enabled, and in groups that the command is addressed to your bot.
Talk to your assistant
- Turn on the assistant in the same workspace and connect your agent.
- An owner or admin selects Assistant in the connection’s role settings, saves, and enables it.
- Link your chat account if you have not already.
- In the connection’s Your assistant row, press Connect my assistant and choose your agent and model. Each person does this for themselves; one person’s assistant is never shared with the channel.
- Send
/candor ask How are my apps doing?.
In a private Telegram or Teams chat you can also just write to the bot. In Slack, mentions and direct messages work after the extra setup above. In Discord, use /candor ask and type in the message field.
Each reply links to the full conversation in the dashboard, where you can see tool activity and review permission requests. /candor chat opens the current conversation there; you can carry on in either place. The assistant uses the permissions you approved for the assistant, which are separate from the permissions for deploy commands. With write access, the assistant may restart or redeploy without the confirm step that commands need.
Only the answer is posted in chat, but an answer can summarise private details about your apps. In Telegram and Teams, other people in the conversation can see it. Disconnect my assistant stops chat access without turning off your assistant in the dashboard.
A chat turn stops after ten minutes. Stopping a turn does not undo anything it already did.
Commands
Write commands as /candor <command>. Replace <project-id> with an ID from /candor projects, without the angle brackets.
Account and help (every bot)
| Command | What it does |
|---|---|
/candor start | Opens the welcome menu and quick actions. |
/candor help | Shows every command this bot accepts. |
/candor link | Connects your own Candor Deploy account and lets you choose its permissions. |
/candor verify <code> | Finishes linking, with the code from the dashboard, in the original conversation. |
/candor unlink | Disconnects your chat account and revokes its access. |
Projects and logs (Control plane)
| Command | What it does |
|---|---|
/candor projects | Lists up to 20 projects you can access, with their IDs. |
/candor status <project-id> | Shows the latest deployment. This is not a live health check; open the project for that. |
/candor logs <project-id> | Gives you a link to the project’s logs in the dashboard. Log contents are not posted in chat. |
Deployments (Control plane)
| Command | What it does |
|---|---|
/candor redeploy <project-id> | Asks to deploy the latest source through the normal pipeline. |
/candor restart <project-id> | Asks to restart the running deployment. |
/candor confirm <code> | Confirms the requested action. Send it within five minutes, from the same account and conversation. |
Assistant (Assistant role, after you connect your assistant)
| Command | What it does |
|---|---|
/candor ask <message> | Talks to your connected assistant. |
/candor new | Starts a fresh conversation here. |
/candor stop | Stops the assistant’s current reply. |
/candor chats | Lists your recent conversations from this chat. |
/candor resume <conversation-id> | Continues one of those conversations, with its history. |
/candor chat | Opens the current conversation in the dashboard. |
/candor project list, project get, project logs, project restart and project redeploy also work, as longer forms of the project commands.
Restart and redeploy always ask for confirmation first. Both restart your app, so expect a short interruption. A confirmation is refused if the deployment, the connection settings or your linked account changed in the meantime, and permissions are checked again when the action runs. Sending the same confirmation twice does not deploy twice.
If a reply never arrives after a restart or redeploy, check the project’s deployment history in the dashboard before trying again.
Pause or remove a connection
Pause on a connection stops the bot answering. Removing a connection deletes its stored bot credentials and everyone’s links to it. For a webhook connection, also remove the URL from the provider’s settings.
Bot credentials are encrypted and never shown again after you save. To change them, open the connection’s Settings and enter new values; leave a field blank to keep the saved one. The provider of a connection cannot be changed; add a new connection instead.
Related
Something here wrong, unclear or missing? Tell us. Docs get fixed like bugs.
Not a customer yet? Start a free trial, or see plans and limits.