Skip to main content
The Slack integration connects an agent profile to a bot. Each new Slack conversation launches a separate agent from that profile. The agents start with the profile’s current config but keep independent conversations and histories. Later replies return to the agent for that thread or DM.

Before you start

Agents handling Slack conversations automatically receive send_integration_message unless it is explicitly disabled in the profile’s config. You do not need to add it yourself.
Self-hosting? Set OMNARA_PUBLIC_URL to a public HTTPS origin so Slack can deliver webhooks. Hosted Omnara is already configured.

Connect Slack

Create the Slack App with Omnara

Get a Slack app configuration token from api.slack.com/apps under Your App Configuration Tokens. Omnara uses it to create and configure the Slack app for you.
The examples assume the client, $ORG/orgID, and $PROJ/projectID setup from the quickstart. One call creates the app and returns the install link:
Open oauth_url within 10 minutes while signed in to Omnara as the user who started setup. Approve the Slack install, and the browser returns to the dashboard. The CLI opens the link in your browser for you; --no-browser prints the authorization URL instead.
Each setup creates a new Slack app, so run it only once for each bot you want.

Use an existing Slack app

If you already have a Slack app, provide its credentials instead. This path is not available in the dashboard:
Your Slack app must already be configured with Omnara’s event, action, and redirect URLs — the setup response returns them. Then open oauth_url to approve the install; the CLI opens the approval page in your browser and waits until the integration is created. Both setup paths connect one Slack workspace to the profile.
Removing a Slack integration from Omnara keeps its agents and histories, but does not uninstall the app from Slack. Remove it separately in Slack if you are decommissioning the bot.

How Slack conversations map to agents

  • The first mention in a channel thread launches an agent from the profile. Later replies return to the same agent without another mention.
  • A DM keeps one persistent agent for the whole conversation.
  • Messages in other threads are ignored until someone mentions the bot.
Slack messages are attributed to their sender and appear in the same timeline as dashboard activity. Questions and approvals can be answered in Slack or the dashboard; either response resumes the same agent.