Slack Channel Integration: Setup and Runtime Behavior

Slack integration covers DMs and channels through Slack apps, with Socket Mode as the default transport. It also explains HTTP Request URLs and relay mode for managed deployments.

Read this when

  • Setting up Slack or debugging Slack socket, HTTP, or relay mode

Slack integration handles both DMs and channels through Slack apps. Socket Mode serves as the default transport, though HTTP Request URLs work too. For managed deployments where a trusted router controls Slack ingress, relay mode is the option.

What each page covers

Where each section moved

Each heading from the earlier single-page version retains its anchor in this location, meaning a link like /channels/slack#text-streaming continues to resolve. Every entry directs you to whichever page now contains that content.

Configuration reference

For the main reference, see Configuration reference - Slack.

High-signal Slack fields

  • mode/auth: postAs, mode, botToken, appToken, userToken, signingSecret, webhookPath, accounts.*
  • DM access: dm.enabled, dmPolicy, allowFrom (legacy: dm.policy, dm.allowFrom), dm.groupEnabled, dm.groupChannels
  • compatibility toggle: dangerouslyAllowNameMatching (break-glass, keep off unless needed)
  • channel access: groupPolicy, channels.*, channels.*.users, channels.*.requireMention, implicitMentions.*
  • group introductions: joinIntro, accounts.*.joinIntro (default: true)
  • threading/history: replyToMode, replyToModeByChatType, thread.*, historyLimit, dmHistoryLimit, dms.*.historyLimit
  • presence wakes: presenceEvents.mode, presenceEvents.prompt, channels.*.presenceEvents.* (off|auto|on, default off)
  • delivery: textChunkLimit, streaming.chunkMode, mediaMaxMb, streaming, streaming.nativeTransport, streaming.preview.toolProgress
  • unfurls: unfurlLinks (default: false), unfurlMedia for chat.postMessage link/media preview control. Set unfurlLinks: true to opt back into link previews
  • ops/features: configWrites, commands.native, slashCommand.*, actions.*, userToken, userTokenReadOnly
  • Pairing, Attach a Slack user to the gateway.

  • Reactions, How emoji reactions behave for the message tool.

  • Groups, Behavior for channels and group DMs.

  • Channel routing, Send inbound messages on to agents.

  • Security, Hardening guidance and the threat model.

  • Configuration, How config is laid out and which precedence applies.

  • Slash commands: Full list of available commands plus how they behave.

737 words · updated Sep 18, 2026