Setting up Metabot in Slack

A plan for letting people ask Metabase data questions from Slack, with account linking through OAuth so Metabase permissions apply to every answer, alert and subscription.

On this page

Setting up Metabot in Slack so answers respect Metabase permissions

Teams want data answers where they already work, and Slack is often that place. Metabot in Slack lets people ask data questions from a Slack conversation and get answers drawn from Metabase. The security question is whether those answers respect the same permissions people have in Metabase. Metabase's documented approach is that each person links their Slack account and their Metabase account through an OAuth flow, so Metabot runs queries with that person's own Metabase permissions rather than a shared service identity. Add this channel once your groups, data permissions and collection access are already settled in Metabase, because Slack will inherit whatever those controls allow. It suits teams that already answer repeated data questions in chat and have a clear owner for the permission model.

Scope the rollout around the plan you run. The open source edition's SSO and permission features sit on paid plans: according to Metabase's pricing page, SSO, row and column level permissions, and usage analytics and auditing are included only in the Pro and Enterprise plans. If your instance runs on Open Source or Starter, the per-person permission model you are relying on may not be available in the form your security team expects. Confirm with Metabase which features your planned edition includes before you promise anyone that Slack answers are scoped to their access. The plan decision comes before the Slack app is installed, not after the first complaint about an answer.

Plan the linking process as part of onboarding, not as a single admin task. Each user must complete the OAuth link themselves, so decide who sends the instructions, what happens to people who never link, and how you will handle people who leave or change roles. Check in your own environment how Metabot answers when a linked user lacks access to a table, and document that behavior for the security team. Ask Metabase to confirm how alerts and subscriptions created from chat are tied to the creator's permissions and whether they continue to run after that person's account is deactivated. Those answers should drive your approval and offboarding steps.

Configuration options and when each fits

This table compares the main Metabot in Slack choices: who links accounts, where Metabot answers, whether chat can create alerts, and how widely the Slack app is installed. Read each row against your permission model and audit needs, since the choice you make for one row often shapes the others. The main takeaway is that a narrow first rollout is easier to review and support than a workspace-wide one.

OptionChoicesWhen it fitsWhat it changes for permissions, audit and support
Who may link accountsAll workspace members, or a pilot group onlyPilot group fits first rollouts with a small set of analysts or data ownersEach linked person answers with their own Metabase permissions, so a wider group widens the data reachable from Slack and the number of accounts support must troubleshoot
Where Metabot is usedDirect messages only, a few named channels, or any channelDirect messages fit sensitive data; named channels fit shared team questionsAnswers posted in channels are visible to everyone there, so channel use needs a clear policy on what may be shared
Alerts and subscriptions from chatAllowed for linked users, or disabledAllowed fits teams that already rely on Metabase alerts and want faster setupCreated alerts persist and send results to recipients, so review who can create them and confirm the alert recipients in Metabase
App installation scopeWhole workspace, or a limited group of users or channelsLimited installation fits pilots and regulated groups; whole workspace fits broad internal rolloutsInstallation scope sets who can discover and use Metabot, and changing it later affects users already linked, so confirm the approach with your Slack administrators
Plan and identity setupOpen source or Starter, or Pro and EnterpriseConfirm before rollout which plan your instance runs and how users sign inPermissions that apply to chat answers depend on the Metabase account each person links, and SSO, permission and audit features are limited to Pro and Enterprise according to Metabase's pricing page
Audit and reviewDefault activity records, or an added review processAdd a review process when chat answers reach many people or sensitive dataConfirm which Metabot activity is visible in your Metabase instance and in Slack, and document who reviews it before launch

Setup sequence for Metabot in Slack

This sequence takes a self-hosted Metabase from a confirmed version and plan to a Slack app where people ask data questions and create alerts or subscriptions under their own Metabase permissions. Each step closes with a check you can record before you move on to the next one.

  1. Confirm the Metabase version and plan

    Before anything else, confirm which Metabase version and edition your instance runs, and check that your plan covers what you intend to enable. Per-user account linking depends on the Metabase features your plan includes, so compare your edition against the current plan details on the Metabase pricing page and confirm with Metabase which Metabot features apply to it. Also confirm the version is on a supported release line using the Metabase version support page. The step is done when you have written down the version number, the plan, and a yes or no for each Metabot feature you intend to use.

  2. Create and configure the Slack app

    A Slack workspace administrator creates the Slack app following the Metabase Metabot in Slack documentation, using the app settings, scopes and request URLs that the documentation specifies for your Metabase version. Record the app identifiers and secrets in your secret store rather than in chat or tickets, and limit who can install the app to the workspace owners who will own it. The step is done when the app is installed in a test workspace or channel and Metabot responds to a basic greeting from a Slack account in that workspace.

  3. Set the Metabase connection for the instance

    A Metabase administrator enters the Slack connection in the Metabase admin settings, following the same documentation, so that the instance can receive and send Slack events. Confirm that the Metabase URL that Slack calls is reachable over the network path you intend to use, and that TLS terminates where your security standards require. The step is done when the admin settings show the connection as active and a test message from the admin account reaches Metabot and returns a reply.

  4. Test account linking with a non-admin user

    Sign in to Slack as a regular user who is not a Metabase administrator and start the account linking flow. Metabot uses an OAuth flow to link the Slack account to the Metabase account, so the user authorizes access once and then Metabot runs questions with that user's Metabase permissions. Check that the linked user sees the expected collections and tables, and that the link is recorded against the correct Metabase user. The step is done when the non-admin user can ask a question that returns results from a source they are allowed to see.

  5. Verify restricted data returns no results

    Choose a data source or table that the test user's Metabase group cannot access, and ask Metabot a question that would require it. The expected result is that Metabot returns no rows from that source and does not reveal its contents through a summary, error text or SQL it displays. Repeat the test with a second restricted user if your permission model has several groups. Keep the questions and responses as evidence for your access review. The step is done when the restricted source returns nothing to the user and the result matches what the same user sees in the Metabase interface.

  6. Enable alerts and subscriptions from chat

    Enable the chat-based alert and subscription options that your Metabase version and plan support, then have the test user create one alert and one subscription from a Slack conversation. Confirm that the saved alert or subscription points only to questions and destinations the user is allowed to use, and that a Metabase administrator can see and manage it in the Metabase interface. Ask Metabase which chat-created objects are visible to administrators. The step is done when the alert and subscription appear in Metabase under the test user's account.

  7. Test alert delivery and revoke access

    Trigger the test alert and confirm the message arrives in the intended Slack channel or direct message, with data limited to what the creating user could see. Then remove the test user's Slack link from the Metabase side and confirm that Metabot no longer answers questions or runs the subscription for that user. Document the removal steps so your operations team can run them for leavers and role changes. The step is done when delivery is confirmed and the revoked user gets no further answers or alert results.

How a Slack question reaches Metabase and returns

The flow starts when a person asks Metabot a question in Slack. Before Metabot can answer, the person links their Slack identity to their Metabase account through an OAuth flow, so Metabot acts with that user's Metabase permissions rather than a shared service identity. Metabase runs the query against the connected database under those permissions, and the answer returns to the Slack thread. Check where the AI provider call happens, since the question and schema context leave the Metabase instance for the model provider you configure.

Question flow from Slack through Metabase to the connected database and back.

Security and operational considerations for Slack access

Metabot in Slack puts Metabase answers into a channel that your Slack admins, Metabase admins and security team all touch. The six areas below cover who holds the access, what data moves where, and what gets logged, so each owner can check their part before rollout.

OAuth token handling and offboarding

Each person links their Slack identity to their Metabase account through an OAuth flow, so Metabot answers with that person's Metabase permissions. Define how a link is removed when someone changes roles or leaves, and who can do it. Confirm in your own test instance whether removing the Metabase account or the Slack user also revokes the link, and whether a departed user's Slack account disables Metabot access automatically. Make offboarding a step in your Metabase user deprovisioning runbook.

Metabot in Slack docs

Message content inside and outside Slack

Questions, answers and any tables Metabot returns are posted into Slack channels or direct messages, where retention and eDiscovery follow your Slack plan, not your Metabase settings. Query text and results used to generate an answer are sent to the AI provider you configure. Map each data category to a Slack destination and decide which channels may receive query results. Ask your data owners whether sensitive columns should appear in chat at all.

Slack workspace admin controls

Slack admins decide who can install the Metabase app, which channels it can join, and whether it can post in public channels. Review the app's requested scopes before approval and document who owns the app registration. Restrict installation to a small group if you plan to limit Metabot to a few teams. Confirm with your Slack administrators how Enterprise Grid or org-wide installs change approval flow in your workspace.

AI provider behind Metabot

Metabot sends prompts to whichever model provider the Metabase instance is configured to use, so Slack access inherits that provider's data handling terms. Chat usage does not change where prompts go. Confirm the provider, the network path and the logging on the provider side before inviting users. For provider choice, keys and base URLs, see the sibling topic on connecting self-hosted Metabot to your own AI provider.

Audit trail for chat-created alerts

Alerts and subscriptions created from Slack are Metabase objects that keep running after the conversation ends, and they can send query results to channels or email recipients. Decide who may create them and review existing ones on a schedule. Check how Metabase records the creator and the destination for each alert, and whether that record is enough for your access review. Confirm how usage analytics and auditing are licensed on your plan before relying on them.

Monitoring linking failures

Failed or expired OAuth links show up as users who cannot get answers, and they often reach support before anyone sees an error. Track link attempts and failures in your Metabase and identity provider logs, and set an owner for the queue. Repeated failures from one user can point to a changed role or a revoked Slack session rather than a fault in Metabot. Document the support path so the help desk can tell a permissions problem from a configuration problem.

Questions buyers ask before setting up Metabot in Slack

Which Metabase plan do we need to use Metabot in Slack?

Metabot in Slack depends on people linking their Slack and Metabase accounts through an OAuth flow so that Metabot applies their Metabase permissions, and the supplied facts do not confirm which plans include the Slack integration itself. Confirm this with Metabase before you buy. The pricing page lists Open Source (free), Starter, Pro and Enterprise, and it places SSO, row and column level permissions, multi-tenant data segregation and usage analytics and auditing only in Pro and Enterprise. Those features matter for a permission model that holds up in chat, so many teams compare plans on that basis. Enterprise is priced by quote starting at $20,000 per year.

What does a Slack rollout cost, and what recurs?

The costs fall into three groups. Metabase subscription fees recur, and on the pricing page Starter is $100 per month or $90 per month billed yearly with the first 5 users included, while Pro is $575 per month or $517.50 per month billed yearly with the first 10 users included. Additional users cost $6 per month on Starter and $12 per month on Pro. Slack workspace administration and any Metabase configuration time are one-time effort, as is the cost of the implementation partner or internal staff who set up the app. Ask any partner for a written quote that separates one-time setup from ongoing support, upgrades and testing.

How long does setting up Metabot in Slack take?

Duration depends mainly on how many approvals the Slack app needs, how many users must link accounts, and how well your Metabase permissions already reflect who should see which data. A small pilot with one database and a few linked users is usually far quicker than a rollout that needs to cover every workspace channel and group. No duration has been supplied for this topic, so ask any implementation partner for a timeline based on your written scope. Ask them to list the Slack approval steps, the Metabase admin tasks and the user communication separately.

What does our internal team need to provide?

Three access items are needed before work starts:

  • Slack admin rights to install and approve the app in your workspace.
  • Metabase admin rights to configure the instance, groups and permissions.
  • A test database connected to a non-production Metabase, so you can check that answers respect group permissions before real users see them.

Also name an owner who can answer questions about which data each group may use. Without that decision, the permission setup will stall.

Can our own team set up Metabot in Slack without a partner?

Yes, if your team has Slack and Metabase administrators who can follow the vendor documentation and test the result. The account linking step is the part most likely to need care, because each user authorizes Metabot through OAuth and the answers depend on that user's Metabase permissions. A partner adds value when you want a written scope, a documented test plan, and a check that permissions behave as intended before a wider launch. Decide based on your in-house experience with both platforms and the number of users involved.

What happens when a Slack user has no Metabase access?

A person without a Metabase account, or without access to the relevant data, should not receive answers from that data through Metabot. Linking the Slack and Metabase accounts through OAuth is what makes Metabot use that person's permissions, so the first step is to create or confirm their Metabase account and group membership. If the person should not have access, tell them to request it through your normal access process rather than widening a shared group. Confirm the exact message users see in this case with the vendor documentation, and test it with a user who has no access.

Which parts of Metabot in Slack need the most engineering attention?

The first area is account linking, where each user must complete the OAuth flow and the resulting permissions must match their Metabase group membership. The second is alerts and subscriptions created from chat, which should be reviewed so that people cannot schedule results to channels or recipients who lack access to the underlying data. The third is operational ownership: someone must monitor the app, handle re-linking when accounts change, and update the setup when Metabase upgrades. Document each of these before launch so support staff know who to call.

Limits to confirm in your environment

Metabot in Slack depends on three things you do not fully control: your Metabase version and plan, your Slack workspace settings, and the network path between Slack and your instance. Confirm each one with Metabase, your Slack administrators and your network team before you promise the rollout to users.

Metabase version and plan support

Confirm that your Metabase version and plan include Metabot in Slack the way the current documentation describes. Plan limits matter here because SSO, row and column permissions and auditing are tied to the Pro and Enterprise plans, and identity setup for linking accounts depends on which sign-in methods your plan allows. Ask Metabase in writing which version first supports the feature and whether any setting differs on a self-hosted instance. Record the answer with the version you plan to run.

Metabase pricing

Slack plan and admin approvals

Ask your Slack administrators whether your workspace plan allows the app to be installed and whether app installation needs an admin or owner approval step. Confirm who can approve the Metabase app, who can add it to channels, and whether guests or external members can use it. Account linking happens per person, so also confirm that every user who will ask questions has an active Slack account in the workspace that the app is installed in.

Slack retention and export policy

Questions asked in Slack and the answers Metabot returns become Slack messages, so they fall under your Slack retention and export settings. Confirm the message retention period, whether legal hold or eDiscovery exports include app messages, and who can export them. Also check whether your data handling policy allows query results with sensitive fields to sit in a chat channel at all. The answer may limit which collections or channels you allow Metabot to answer in.

Supported Slack features

Confirm which Slack features your deployment supports for Metabot, such as direct messages, channel mentions, threads and any interactive elements used for subscriptions or alerts. Do not assume that a feature in the Slack interface is available to the app. Test each feature you plan to promise in a non-production workspace on the exact Metabase version you will run, and keep a short list of features that are out of scope for the first release.

Network and proxy path

Slack must reach your Metabase instance for events and interactions, and your instance must reach Slack's API. Confirm the inbound route from Slack to your reverse proxy, the outbound allowances from your Metabase host or container, and any proxy or egress filtering your security team enforces. Check that TLS certificates are trusted by Slack and that firewall rules do not block the addresses your Slack app configuration requires. Ask your network team to review these rules before the rollout date.

Ownership of alerts and subscriptions

Alerts and subscriptions created from chat run under the linked user's Metabase permissions and continue after the person leaves a project. Confirm who owns these schedules, how they are reviewed when a user changes roles or leaves the company, and whether your Metabase admins can list and disable them. Decide whether chat-created schedules need a named owner and a review step before they post into shared channels.

Operating Metabot in Slack after launch

Once Metabot is live in Slack, the recurring work is keeping each linked account matched to the person's current job. Because Metabot answers with the Metabase permissions of the person who linked their account, a staff member who moves to a new team or leaves the organization keeps the access their old linkage gave them until someone reviews it. Build a regular review that compares active Slack links against your Metabase user list and group memberships, and make the offboarding checklist include unlinking Slack. Ask your identity team whether account deprovisioning in your identity provider flows into Metabase on your plan, since that determines how much of this review is manual. Confirm with the Metabase documentation how linked accounts are removed in your version before you write the procedure.

Every Metabase upgrade should be followed by a check of the Slack integration, because the Slack app and Metabot behavior can change between releases. Follow the standard upgrade process and take a backup of the application database before the upgrade starts, since migrations run automatically on startup and the documented rollback path is restoring that backup. After the upgrade, send test questions from a linked test account, confirm answers still respect that account's permissions, and confirm alerts and subscriptions still deliver to the intended channels. Record the version tested so the next upgrade has a baseline.

Watch the volume of alerts and subscriptions created from chat, because they add scheduled queries against your warehouses over time. Review the list periodically, look for duplicates, abandoned subscriptions from departed users and alerts that fire constantly, and ask owners to justify the recurring load. Finally, keep a written list of the channels approved for data questions, along with who owns it and how changes are requested. Without that list, Metabot tends to appear in channels where sensitive results should not be posted, so review channel membership alongside the approved list each quarter.

How DeployOpen scopes and delivers Metabot in Slack

DeployOpen plans and implements the Slack app, the OAuth account linking and the chat-created alerts and subscriptions for your self-hosted Metabase, inside your own infrastructure. Each engagement starts from a written scope that names the workspace, the Metabase edition and plan, the identity setup and the people who will use Metabot, so the permissions your team reviews are the ones that ship.

How we scope

  • Confirm your Metabase edition and plan, since Slack linking depends on the features your plan includes.
  • Record which Slack workspaces, channels and user groups will reach Metabot and who approves them.
  • Agree in writing which alert and subscription types people may create from chat and who reviews them.

How we build

  • Install and configure the Slack app against your self-hosted Metabase, using your own Slack app registration.
  • Test the OAuth account linking with accounts from different Metabase groups to confirm permissions apply.
  • Check that chat answers, alerts and subscriptions respect collection and data permissions before go-live.

How we hand over

  • Deliver the configuration record, linking steps, permission test results and a user guide for your help desk.
  • Walk your platform and security teams through the OAuth flow, revocation steps and audit trail locations.
  • Provide a retest plan so your team can repeat the permission checks after Metabase upgrades or Slack changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for the Slack integration.
  • Retainers can cover Slack app updates that follow Metabase releases, with the scope agreed in writing.
  • Ask any provider to confirm how Slack app changes and linked-account revocations are handled after handover.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.