import{_ as o,o as t,c as a,ag as n}from"./chunks/framework.CAXxHpAX.js";const u=JSON.parse('{"title":"Slack Channel Configuration","description":"","frontmatter":{},"headers":[],"relativePath":"channels/slack.md","filePath":"channels/slack.md","lastUpdated":1776579425000}'),s={name:"channels/slack.md"};function i(l,e,r,c,d,p){return t(),a("div",null,[...e[0]||(e[0]=[n('

Slack Channel Configuration

Connecting your Memoh Bot to Slack allows it to receive direct messages, participate in channels and threads, read attachments, send files, and use streaming replies.

Step 1: Create a Slack App

  1. Go to the Slack API dashboard and create a new app.
  2. Choose the workspace where you want to install the bot.
  3. Open Basic Information and keep this app page open for the next steps.

Step 2: Enable Socket Mode

Memoh's Slack adapter uses Socket Mode, so you need an app-level token in addition to the bot token.

  1. In Basic Information, enable Socket Mode.
  2. Create an App-Level Token with the connections:write scope.
  3. Copy the generated token. It starts with xapp-.

Step 3: Configure Bot Token Scopes

In OAuth & Permissions, add the bot token scopes required by the current Slack adapter:

You should also add these recommended scopes if you want Slack conversation names and metadata to show up more completely in Memoh:

Step 4: Subscribe to Bot Events

In Event Subscriptions, enable bot events and add:

These are the inbound event types currently handled by the Slack adapter.

Step 5: Install the App to Your Workspace

  1. In OAuth & Permissions, click Install to Workspace.
  2. Review the permission screen.
  3. Authorize the app.
  4. Copy the Bot User OAuth Token. It starts with xoxb-.

Make sure the xoxb-... bot token and the xapp-... app-level token come from the same Slack app and workspace.

Step 6: Configure Memoh

  1. Open your Bot detail page in the Memoh Web UI.
  2. Go to the Platforms tab.
  3. Click Add Channel and select Slack.
  4. Fill in:
  5. Click Save and Enable.

Step 7: Add the Bot to Conversations

After the channel is enabled, the Slack app still needs to be present in the conversations where you want it to work.

If the bot can send messages but cannot read uploaded images or files, check that files:read is enabled. If it connects but receives no incoming messages, check the bot events and the matching history scopes again.

Features Supported

',27)])])}const m=o(s,[["render",i]]);export{u as __pageData,m as default};