Join our Newsletter — 33% off our NHI Course
Home› Guides› Slack AI and Agents in Slack Security Guide:…
Guide AI Platforms

Slack AI and Agents in Slack Security Guide: Search Scope, Data Residency and App Permissions

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, under the editorial direction of Lalit Choda Updated 18 November 2026 17 min read
On this page

Slack AI and the agents that run inside Slack can read across every channel a user can reach, so the security question is no longer whether the model is safe but which identity it acts as, which scopes it holds and where the data it touches is stored. This guide explains how Slack's built-in AI features handle permissions and retention, how third-party agents reach workspace data through the Real-time Search API and the Slack MCP Server, what data residency does and does not cover, and which controls security and identity teams should set before switching AI on across an organisation.

It is written for Slack administrators, identity and access teams, and security architects who already run Slack at Business+ or Enterprise level and now need to govern AI features and agent apps. It does not repeat general Slack hardening, admin roles or token hygiene, which are covered in the Slack Enterprise Security Guide and the Slack Tokens Security Guide. For the wider pattern of AI built into SaaS products, see the Embedded AI in SaaS guide.

This is an independent guide from NHI Mgmt Group, based on Slack's public documentation as of November 2026. It is not sponsored or reviewed by Slack. Product features change, so confirm settings against Slack's current documentation.

Key takeaways

  • Slack's own AI features use only data the requesting member can access at the time of the request, so every oversharing problem you already have in channel membership becomes an AI answer problem.
  • Third-party agents are different identities. They reach data through OAuth scopes such as search:read.public and search:read.private, and a user token lets an agent search private conversations outside the Slack client.
  • Only Marketplace (directory-published) apps and internal apps may use the Real-time Search API and the Slack MCP Server; unlisted distributed apps are not allowed. That is a useful policy anchor for app approval.
  • Data residency keeps messages, files and the search index in the chosen region, but member profiles, membership data and some analytics may sit outside it. Slack's residency page does not state how AI processing maps to regions, so ask in writing.
  • Most AI outputs are ephemeral, but recaps are stored for 90 days and channel summaries produced by a workflow step follow your normal retention settings. Treat those as records.
  • Restrict AI features to named groups first, approve agent apps through the standard app approval process, and review audit logs for MCP and search activity before a wide rollout.

What Slack AI and agents in Slack actually are

There are two distinct things that people call "Slack AI", and they need different controls.

Slack's built-in AI features

Slack's guide to AI features lists conversation summaries for channels, DMs and threads, huddle notes, automatic search filters, search answers, recaps of unread channels, file summaries for .pdf, .docx, .pptx and .xlsx files, translations, workflow automation, canvas content generation, Slackbot and enterprise search. Availability depends on plan: Pro gets summaries, huddle notes and automatic search filters; Business+ adds search answers, recaps, file summaries, translations, workflow automation, canvas generation and Slackbot; Enterprise+ adds enterprise search. Legacy Business+ or Enterprise Grid plans without the Slack AI add-on get only the Pro features.

These features run on Slack's side. Slack states that it uses third-party large language models hosted in its own secure cloud, that those models do not retain information after a request is processed, and that customer data is never used to train LLMs. Slack describes a retrieval augmented generation design in which only the data needed for each task is sent at inference time.

Agents and AI apps built on the Slack platform

The second category is apps: agents your developers build, agents from vendors in the Slack Marketplace, Salesforce Agentforce agents surfaced through custom Slack actions, and external AI clients that connect through the Slack MCP Server. Slack's developer documentation describes agents as autonomous, goal-oriented AI apps that reason, use tools and keep context across conversations, with dedicated surfaces such as a split-view container, a top navigation entry point, app threads and text streaming. Its design guidance centres on "trust, transparency, and bounded autonomy".

From an identity point of view, every one of these apps is a non-human identity. It has a client ID and secret, it holds bot tokens and often user tokens, and it acts with whatever scopes an admin and a user granted. That is the part of Slack AI that security teams most often under-govern.

How built-in Slack AI respects permissions

Slack's security page for AI features makes four permission statements that matter for risk assessment:

  • AI features only use data that the requesting member can access at the time of the request.
  • AI search never surfaces results that regular Slack search would not.
  • Summaries and Slackbot responses never include content the user could not otherwise see in channels or DMs.
  • AI features do not display or use data from private channels or DMs the user is not part of.

This is a sound design, but it has a direct consequence. The AI layer inherits your existing access model, including its mistakes. A public channel that was meant to be temporary, an all-hands channel where someone pasted a customer export, or a former project channel that still has contractors in it will all feed search answers and recaps. Before AI was switched on, that content was technically reachable but practically buried. Search answers make it easy to find.

The practical response is a pre-rollout access review rather than a model review:

  • Identify public channels with sensitive names or data loss prevention hits and convert or archive them.
  • Review guest and Slack Connect membership in channels that hold regulated data.
  • Confirm that offboarding removes users from channels promptly, since the AI layer evaluates access at request time.
  • Check that your secret scanning covers Slack messages, because a search answer can quote a pasted credential. The guide How to find secrets in Slack and Teams messages covers the method.

Retention of AI outputs

AI outputs are a new class of content, and Slack treats them differently by type. According to Slack's AI security page:

OutputHow Slack stores itGovernance implication
Conversation summaries and search answersEphemeral, not stored on devices or serversNot a retained record; users may screenshot or copy them
RecapsStored for 90 days; deleted if source messages are deleted or tombstoned by a deletion or compliance policyShort-lived derived data that follows source deletion
Channel summaries from the "Summarize public channels" workflow stepNot ephemeral; follow the organisation's data retention settings and may be posted as messages or stored in canvasesTreat as business records subject to legal hold, eDiscovery and DLP

The workflow summary row is the one most teams miss. A workflow that posts a daily summary of several public channels into a leadership channel creates a new message that concentrates information from many places. If the leadership channel has a wider or different audience than the source channels, the summary can move information across a boundary even though every source was public. Review who can build workflows with AI steps and where those workflows post.

Agent apps, scopes and the Real-time Search API

Third-party and in-house agents reach workspace content mainly through the Real-time Search API, which Slack previously called the Data Access API. Its method assistant.search.context searches messages, files, channels and users across the organisation the caller can access, and assistant.search.info returns a team's search capabilities. Semantic search runs only for natural-language queries on workspaces with Slack AI Search and requires a paid plan.

Bot tokens and user tokens

The token type decides how far an agent can reach:

  • Bot token. Usable only within the Slack client by AI-enabled apps, and each call needs an action_token. The app obtains that token from events such as message.im, message.mpim, message.groups, message.channels (when the app is mentioned) or app_mention. In effect, a bot-token search must be tied to a user interaction.
  • User token (xoxp-). Required for private conversation data and for use outside the Slack client, and it does not need an action_token. A user token therefore lets an agent search on the user's behalf from the vendor's own infrastructure, without anyone typing in Slack at that moment.

For an identity team, that difference is the core of agent risk. A bot-token agent is bounded by interaction. A user-token agent is a long-lived delegated credential that can read whatever that user can read, from anywhere the token is held.

Scopes

search:read.public is the minimum scope. Optional scopes are search:read.private, search:read.mpim, search:read.im, search:read.files and search:read.users. Only search:read.public, search:read.files and search:read.users are allowed on bot tokens; the rest are user-only. Downloading file content needs files:read. Slack tells developers not to use the legacy search:read scope or the search.messages and search.all endpoints, so an agent manifest that still requests them is a review flag.

What a search can return

Slack documents context-dependent results. With the public scope, the API searches public channels in workspaces where the app is installed and the user is a member, even if the user is not a member of the channel. Private, group DM and DM content requires both admin installation with the scope and user consent. When invoked from a public channel, results are public only. From a private channel or group DM, results include that conversation plus public channels in the same workspace. From a Slack Connect channel, results include only that channel. Installing an app with search:read.* scopes in several workspaces exposes data to the app across all of them, and org-ready apps can use one user token across workspaces.

Developer obligations you can audit against

The Real-time Search documentation says developers must not store or copy any data retrieved from the API, must not use it for training and must not use the API to scrape workspace data unrelated to user queries. Guest users cannot access apps that use platform AI features. These are platform terms, not technical controls, so put them in your vendor questionnaire and contract: ask each agent vendor how they meet the no-storage rule, where their prompts and logs go, and whether retrieved content ever reaches a model provider that retains it.

Agents built with Slack's agent framework also use assistant:write for agent features such as the top navigation entry point and the agent label, subscribe to events such as app_context_changed and agent_session_stopped, and stream replies with chat.startStream, chat.appendStream and chat.stopStream. Those scopes are low risk on their own; the data risk sits in the search, history and file scopes alongside them.

The Slack MCP Server and Slackbot MCP client

Slack now runs its own Model Context Protocol server at https://mcp.slack.com/mcp, using JSON-RPC 2.0 over Streamable HTTP. It lets MCP-compatible clients such as coding assistants and desktop AI tools search channels, send messages, manage canvases and lists, and upload files. The security properties are worth knowing in detail:

  • Authentication. Confidential OAuth with the app's client ID and secret. Tokens are user tokens issued after user consent; bot tokens are optional. Dynamic Client Registration and SSE connections are not supported, and PKCE is available for desktop clients.
  • Eligibility. The client must be backed by a registered Slack app with a fixed app ID. Only directory-published apps or internal apps may use MCP; unlisted apps are prohibited.
  • Admin control. Admins approve and manage MCP client apps through the standard Slack app approval process, MCP activity can be audited through audit logs, and IP allowlists configured on the app apply to MCP requests.
  • Reach. Actions run as the authenticated user and the token scopes decide what is reachable. The tool set includes message and file search with the full search:read.* family, channel and thread history with channels:history, groups:history, mpim:history and im:history, messaging with chat:write, and user profile and email lookup. Listing a user's channels includes archived channels by default.

The MCP Server is the clearest example of "agents reach every channel". A developer who connects a coding assistant to Slack through MCP gives that assistant a user token able to read every DM and private channel they are in, and to post as them. Slack's own documentation advises judgement about what to connect, and warns that connecting other MCP servers at the same time may introduce different security characteristics. In practice that means the coding assistant now holds Slack content in its context alongside tools from other servers, which is the setup prompt injection relies on. MITRE ATLAS records this technique as AML.T0051 LLM Prompt Injection.

In the other direction, the Slackbot MCP client lets Slackbot connect to remote MCP servers, discover their tools and invoke them from user prompts. Each server you connect extends what a natural-language request in Slack can do in another system. Treat adding an MCP server to Slackbot like approving an integration: name an owner, list the tools exposed and confirm which identity the remote server uses.

Agentforce in Slack

Slack's developer documentation lists Salesforce Agentforce among its integrations, connected through custom Slack actions. When an Agentforce agent answers in Slack, two permission systems are in play: Slack's scopes for the app, and the Salesforce running user and permission sets behind the agent. A user who can talk to the agent in a channel may be able to trigger Salesforce actions they could not perform directly, if the agent's running user is broader than theirs.

The Salesforce side is covered in the Securing Salesforce Agentforce Guide and Salesforce Agent Inventory. On the Slack side, decide which channels the Agentforce app may be added to, whether it may be invoked from Slack Connect channels, and who owns the app record.

Data residency and AI

Slack data residency is available on Business+ and Enterprise plans, is enabled by the Primary Owner and is set up through Slack's sales team. Regions include Frankfurt, Paris, Stockholm, Zurich, Tokyo, Mumbai, Singapore, Seoul, Sydney, London, Montreal and São Paulo, each with a documented backup region (Singapore, Seoul, London and São Paulo keep backups in the same region).

Residency covers messages, canvases and snippets, uploaded files, the search index of customer data, app or bot generated messages and files, and data collected by apps on Slack's managed infrastructure, including app datastores, developer secrets and logs. It does not necessarily cover member profiles, workspace and channel membership, usage and revenue data, analytics and service-quality data such as sanitised logs, or Slack-generated IDs, which may be stored outside the region. Flagged or reported data may be stored in the US. Existing customers who enable residency keep historic data in the US unless they request migration.

Three points follow for AI governance:

  • Slack's residency page does not say whether Slack AI processing is covered. Slack's AI security page says customer data never leaves Slack-controlled infrastructure, but neither page maps inference to residency regions. If your residency requirement is legal rather than preferential, get a written statement from Slack on where AI inference runs for your region.
  • Third-party agents sit outside residency. Residency governs Slack's storage. Once an agent retrieves content through the Real-time Search API or MCP, it is processed wherever the agent vendor runs, even though the vendor is not allowed to store it. Your transfer assessment must include each agent vendor and its model provider.
  • Slack Connect follows each side's region. If organisations in a shared channel use different regions, each organisation's messages and search index stay in its own region. An agent invoked in that channel may see both sides' content.

Admin controls and rollout

Slack documents two levels of feature control: owners and admins choose which AI features workspace members can use, and on Enterprise plans org owners and admins can limit AI feature access to specific users and groups. Feature access also depends on role, so guests and members can be treated differently. Org owners and admins enable enterprise search, and individual users can switch file summaries on or off under Preferences.

A rollout that security teams can defend usually runs in four stages:

  1. Pilot group. Enable built-in AI for a named group that has completed the channel access review. Leave enterprise search off until connected sources have their own permission review.
  2. App approval policy. Require approval for all apps, and write a rule that agent apps requesting search:read.private, search:read.im, search:read.mpim or history scopes need a named owner, a vendor data handling review and a business case. Because only Marketplace and internal apps may use the Real-time Search API and MCP, reject unlisted distributed apps outright.
  3. Token boundaries. Where the app supports it, configure IP allowlists so that stolen tokens cannot be replayed from elsewhere, and record which agents hold user tokens. The How to audit Slack apps, bots and tokens method applies directly.
  4. Monitoring. Use audit logs to follow app installs, scope changes and MCP activity, and alert on new apps receiving private search scopes. Map the review to NIST SP 800-53 AU-6 Audit Record Review, Analysis, and Reporting.

Common failure patterns

  • Switching AI on before fixing channel sprawl. Search answers surface old public channels that nobody remembered were public.
  • Treating agent apps as features rather than identities. An agent with a user token and private search scopes is a privileged delegated credential, yet it is often approved by a single team lead with no owner recorded.
  • Assuming residency covers agents. Residency keeps Slack's copy in region; it says nothing about where an agent vendor processes retrieved content.
  • Unreviewed AI workflow summaries. Summary workflows post concentrated content into channels with a different audience and become retained records.
  • Personal MCP connections. Developers connect coding assistants to Slack through MCP with full history scopes, alongside other MCP servers, with no admin review because the app was already approved for another purpose.
  • Ignoring Slack Connect. Agents in shared channels can read partner content, and partners may not have agreed to that processing.
  • Legacy scopes left in place. Apps still requesting search:read or calling search.messages keep broad access the newer API was designed to narrow.

Practitioner checklist

  • Run a channel access review (public channels, guests, Slack Connect, stale members) before enabling search answers and recaps.
  • Restrict AI features to named user groups on Enterprise plans and expand in stages.
  • Require admin approval for every app, and block unlisted distributed apps from AI platform features.
  • Maintain an inventory of agent apps with owner, token types held, scopes, workspaces installed and vendor model provider (NIST SP 800-53 AC-2 Account Management).
  • Grant private, DM and group DM search scopes only with a documented business need (NIST SP 800-53 AC-6 Least Privilege).
  • Configure IP allowlists for internal agent and MCP client apps.
  • Review audit logs weekly for new apps, scope changes and MCP activity.
  • Treat AI workflow summaries as records: check retention, legal hold and destination channel audience.
  • Get written confirmation from Slack on AI processing location if residency is a legal requirement.
  • Add the Real-time Search no-storage and no-training terms to agent vendor contracts.
  • Review each MCP server connected to Slackbot, with an owner and a list of exposed tools.

Standards and references

Related NHI Mgmt Group resources: Slack Enterprise Security Guide · Slack Tokens Security Guide · Embedded AI in SaaS guide · How to find secrets in Slack and Teams messages

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick both boxes to continue.