GROK BOT / run-a-team-bot-in-slack-or-microsoft-teams

Run one Team Bot for your whole team in Slack or Microsoft Teams

Your team publishes one Bot, connects it to Slack or Microsoft Teams, and everyone talks to it where they already work. When a teammate mentions it in a channel, it acts for that teammate, bills that teammate's Grok Bot usage, and asks that teammate before anything risky. Setup takes one owner, one admin approval, and a one-time account link for each person.

What has to be in place first?

  • A Team or Enterprise plan, for members who have Grok Bot.
  • At least one teammate. If you're the only person on your team, you can't create or share a Team Bot until someone else joins.
  • A published Team Bot that you own or manage. Only the owner or a Manager can connect it to Slack or Microsoft Teams. If you haven't built one yet, start with Set up a Team Bot in Grok Bot.
  • For Slack: a Slack workspace admin, in case Slack asks for app approval.
  • For Microsoft Teams: a Cursor team admin to turn Microsoft Teams on, a Microsoft Teams admin to approve the Bot, and your own Microsoft account in the organization that uses Teams.

1. Get the Bot ready to be shared

Choose + in the sidebar, then Create a Bot, and tell it in a sentence what the team needs from it. Follow its setup steps, and add only keys and files you're happy for every teammate to use, because a Team Bot uses its owner's apps and secrets in everyone's chat. Choose Publish when the Bot says it's ready, then Share at the top right of its chat to pick your team, your organization, or People you invite.

If the whole team should work through one app account, such as a shared support inbox, the owner or a Manager can set that up under the Bot's details: Setup > Service accounts > Shared connectors. Sharing your own login there needs a team admin to turn on Allow Shared Logins first. The docs say to share only an account that holds nothing sensitive or private.

2a. Connect it to Slack

  1. Open the Bot's details, or choose Manage and look under Channels.
  2. Find Bring to your team's Slack or Slack, and choose Connect.
  3. If it says Awaiting admin approval, ask a Slack workspace admin to approve the app.

When it says Connected, teammates can DM the Bot or mention it in channels.

The first time a teammate messages the Bot without a linked account, it asks them to connect. Connect opens cursor.com, where they sign in with the Cursor account on the Bot's team, choose Link Account, then Open Slack. The Bot then answers the message they sent. One link covers every Bot in that Slack workspace. To link ahead of time, open Settings > General > Team Bots and choose Link.

2b. Connect it to Microsoft Teams

  1. Team admin, once per team. On the Grok Bot page of the team dashboard, under Shared Bots, choose Enable next to Enable Microsoft Teams. Sign in with a Microsoft Teams or Global administrator account and accept the permissions Microsoft shows.
  2. Owner or Manager. Open the Bot's details and find Bring to your team's Microsoft Teams, or choose Manage and look under Channels. Choose Connect Microsoft Teams and finish signing in with Microsoft.
  3. Teams admin. While the dialog says Waiting on admin approval, the Teams admin approves the Bot in the Teams admin center under Teams apps > Manage apps > Pending approval. Microsoft doesn't notify them, so send them the link the dialog shows, then choose Check again.
  4. Give it time. Microsoft Teams finishes setting up the Bot on its own, which can take up to an hour. The dialog then shows Open in Teams. To use the Bot in a channel, add it to a team from inside Microsoft Teams.

The first time a teammate messages the Bot in Teams, it replies with a Link Account card only they can see, and they sign in with their Microsoft account. To link first, open Settings > General > Team Bots and choose Link next to Microsoft Teams account.

3. How does a normal day with it look?

Say your team's Bot is called Relay and lives in a #launch channel. Dana writes @Relay pull last week's signups from the dashboard and draft a two-line update for this thread.

  • Relay works as Dana. In a Slack channel thread or DM, a Team Bot acts for the teammate who mentioned it, and it can hand parts of the job to Dana's own Bots. Their replies land back in the same thread.
  • Only Dana approves. If the task needs a risky step, Relay posts a Review an action card with Allow once, Deny, and View details. Only Dana can answer it. In Microsoft Teams, the Bot also asks the person who made the request.
  • Dana's accounts stay hers. In Slack channels, threads, and group chats, a Team Bot uses only its owner's apps and asks before it uses Dana's.
  • Anyone can check who asked. Bots record who asked for each message they post in Slack, so a teammate who joins the thread later can ask Relay who requested the update.
  • Routines stay in the thread. When a Team Bot's routine posts in a Slack thread, the Bot follows that thread and answers later replies without an @mention.
  • Files go to a private chat in Teams. In Microsoft Teams, the Bot reads files attached to posts and sends files through your OneDrive. Ask for a file in a channel or group chat and it asks you to message it directly instead.

Who pays, and what does the Bot keep?

  • Usage. A Team Bot reply uses the Grok Bot usage of the person it's answering, including in Slack and group chats. Replies to someone in Slack who hasn't linked an account, or isn't on the team, use the team's usage. Slack posts from apps or workflows with no linked Cursor account use the owner's usage.
  • Computer. A Slack DM to a Team Bot runs on your own Grok Bot computer. In Slack channels, threads, group DMs, and group chats, the Team Bot uses one shared computer of its own.
  • Memory. What the Bot learns from a teammate waits until the owner or a Manager approves it under Review learnings. Each person's chat with a Team Bot is private, and the owner and Managers can't read it. Official sources disagree on individual preferences; see below.
  • Analytics. Manage > Analytics, when it's shown, lists the Bot's messages, hours saved, and top users.

Who can reach it in Slack?

  • Shared with your organization: any full member of your Slack workspace can mention it in channels and threads, even without a linked account or a seat on your team. Unlinked people are told once per thread that some features will be limited, and they still need to link before they can DM it. A Bot shared with your team works the same way when the team isn't in an organization, or is the only team in it.
  • Shared with your team or with certain people: only those people. A linked teammate without access is told the Bot hasn't been shared with them yet.
  • Never included: Slack guests, Slack Connect channels, and other Slack workspaces.

The team-dashboard setting Slack Workspace Access controls whether workspace members who aren't on the team can use Bots shared with your organization. It's on by default.

What if Microsoft Teams won't take it?

  • Custom apps are blocked: choose Download app package and send the file to your Teams admin to upload.
  • The admin declined it: the dialog shows their note. Make changes and choose Resubmit.
  • You want it gone: Remove from Microsoft Teams in the same dialog removes the app from your Teams organization. Deleting the Bot also removes it from Teams.

What the docs don't cover yet

The Slack docs say a Team Bot can pass work to the asker's own Bots and that its routines follow a thread without an @mention. The Microsoft Teams docs don't say either way, so don't count on those two behaviors in Teams until you've seen them work. The Grok Bot 1.0 announcement says a Team Bot "learns individual preferences." The Team Bots docs say "What the Bot learns about you stays in your own chats." Both wordings are official; this post does not pick one. The 1.0 announcement also says Bots "check whether information is appropriate to share in a public channel," but no setting for that check is documented.

Related

Sources: Team Bots and Use Grok Bot in Microsoft Teams on docs.x.ai, checked Nov 18, 2026.