Connect your app to Slack
Slack brings team conversations into channels. The Slack connector lets an app you build in Mythos post updates and use the conversations and workspace information that your bot is allowed to access.
Mythos uses a bot token from a Slack app you have installed in your workspace. Prepare that app in Slack, then save its token in Mythos. The connection can be used while building in the project chat and in your published app.
This page covers connecting your app to Slack. It does not set up a Mythos assistant inside Slack or install your generated app as a Slack agent.
With the connection, your app can:
- Send messages to channels and direct messages the bot can access.
- Read permitted channel history and workspace members.
- Schedule messages and edit or delete messages sent by the bot.
- Work with reactions, pins, bookmarks, and files where the token has the required scopes.
- Create or manage channels when the bot has permission.
Examples to build
These prompts describe apps and workflows Mythos can build. Slack access comes from the bot; the dashboard, trigger, review step, or schedule comes from the app you request.
For a digest or any generated summary, keep a review step when accuracy matters. Specify the channel, time period, and the result you want so the app works with the right conversations.
How Slack access works
Your bot token represents an installed Slack app in one Slack workspace. It acts as that bot and uses the scopes approved in Slack. Mythos does not add scopes or grant access to channels when you save the token.
Slack distinguishes permission to perform an action from access to a particular conversation. For example, a bot may have permission to read channel history but still need to join the channel. Private channels require an invitation.
Connect Slack to Mythos
You need permission to install an app in the intended Slack workspace, or help from a Slack administrator, and permission to create connections in your Mythos workspace. If the right connection is already shared with you, use it rather than preparing another token.
1. Prepare the Slack app and bot token
- Open your app in Slack app settings, or create an app for the intended workspace.
- Open OAuth & Permissions and add the Bot Token Scopes needed by your app.
- Install the app to the workspace and approve those permissions. Your organization may require a Slack administrator’s approval.
- Copy the bot token from the app’s OAuth settings. Bot tokens begin with
xoxb-.
Useful scopes depend on the workflow:
Choose the permissions needed for your app. If you add scopes later, complete Slack’s installation or reauthorization process so the installed app receives them. See Slack’s app setup guide and token guide for details.
2. Save the connection
- From the Dashboard, open Connectors and select Slack. If no saved connection is available, the setup form opens.
- Enter a Display name, such as
Team notifications. - Paste the token into Bot token. Keep it out of chat messages and public files.
- Under Sharing, keep it Private or choose Share with others. Grant access to selected members, or choose Share with workspace.
- Click Connect Slack. Mythos checks the token with Slack before saving it.
Open Chat actions (+) → Project connectors in your project, select the saved Slack connection, and click Use in this project. Then describe the Slack feature you want Mythos to build. See Connections in Mythos for project links and agent approval settings.
Give the bot access to the right channels
Invite your own Slack app to the channels it should use. In Slack, enter /invite and select the app you installed. Use that app’s name, which may differ from the connection’s display name in Mythos.
For private channels, membership is required. Public-channel posting also depends on the bot’s scopes and membership; saving a bot token does not grant universal access to public channels.
If Slack reports missing access, check both the scope and channel membership. If it reports a missing scope, update the Slack app’s permissions and complete reauthorization. A successful token check identifies the app but does not confirm access to every channel or action.
Limitations
- This setup uses your bot, not a personal Slack login. Do not expect it to search all of a user’s private conversations. Slack’s message search requires a user token and is not a capability to assume for this bot connection.
- Connecting the token does not subscribe your app to incoming mentions, direct messages, or interactive button events. Those require a separate receiving integration.
- Mythos does not create a Slack app, install it as an agent, or configure slash commands through this connection.
- Slack’s rate limits, retention, workspace policies, and token permissions continue to apply.
Manage the connection
Open Connectors → Slack, then the saved connection. Linked projects → Unlink projects removes selected project links. Disconnect stops Mythos from using the connection; it does not delete Slack conversations or uninstall your Slack app.
If the token is revoked or replaced in Slack, disconnect the old connection and connect Slack again with the new token. Link it to the intended projects, ask Mythos to set up the Slack features again, and publish the update. Features using the disconnected connection stop working until they are set up again.