> ## Documentation Index
> Fetch the complete documentation index at: https://docs.min-ai.ar/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Teams

> Your agent talks to you in Teams: in a direct chat with the minai app, or each agent in its own channel of a team of yours.

On Microsoft Teams, your agents talk through **the minai app**. There are two ways to use it, and you pick one once, with your first agent on Teams:

* **One agent, in a direct chat.** Your agent talks to you in a chat with the minai app. It's the simplest, but you'll have **a single personal agent on Teams**.
* **Several agents, each in its own channel.** You create a Teams team just for you and minai makes a channel for each agent. You write to them without mentioning them.

| | |
| - | - |
| **For** | Personal and group agents |
| **What it needs** | A work or school Teams account where custom apps can be uploaded |
| **Who talks to it** | Only you (or everyone in the channel or chat, for a group agent) |

## What you need

* A **work or school** Microsoft Teams account (Microsoft 365). Personal or free Teams can't add apps.
* Your organization must allow **uploading custom apps**. If Teams doesn't show **Upload a custom app**, ask whoever manages Teams in your organization.
* To have several agents, being able to **create teams** in Teams (almost always allowed).

## Pick Teams and how to use it

<Steps>
  <Step title="Pick Microsoft Teams">
    When you create the agent, in **Where will you talk with Clara?**, tap **Microsoft Teams** ("A chat or a channel in your Teams").
  </Step>

  <Step title="Pick how to use Teams (first time only)">
    In **How do you want to use Teams?** pick **One agent, in a direct chat** or **Several agents, each in its own channel**. The steps for each are below.
  </Step>
</Steps>

<Frame caption="Microsoft Teams among the channels">
  <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-elegir.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=92145ad5b9c5b763b7a5d442a676d221" alt="Where will you talk with Clara? screen with the Microsoft Teams option" width="664" height="312" data-path="images/en/canal-teams-elegir.png" />
</Frame>

<Frame caption="The two ways to use Teams">
  <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-modo.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=bdfc9e497406d72d2310711d25067839" alt="How do you want to use Teams? screen with One agent, in a direct chat and Several agents, each in its own channel" width="664" height="247" data-path="images/en/canal-teams-modo.png" />
</Frame>

## One agent, in a direct chat

minai shows you three steps and a code:

<Frame caption="The steps for the direct chat">
  <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-chat-pasos.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=5a117082986167a50450da218b18d188" alt="Steps: download the minai app, upload it to Teams and send it the code" width="664" height="364" data-path="images/en/canal-teams-chat-pasos.png" />
</Frame>

<Steps>
  <Step title="Download the minai app">
    Tap **Download the minai app**. You get a `minai-teams.zip` file: no need to open it.
  </Step>

  <Step title="Upload it to Teams">
    In Teams, go to **Apps** in the left bar and, at the very bottom, **Manage your apps**.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-apps.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=8b645ea98688ae09486315fe9ab15f5a" alt="Teams Apps, with Manage your apps at the bottom left" width="1288" height="950" data-path="images/en/canal-teams-apps.png" />
    </Frame>

    Tap **Upload an app** → **Upload a custom app** and pick the `minai-teams.zip` file.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-cargar.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=538e72a50ee8e17a5d3c2177cd74b471" alt="Upload an app window, with the Upload a custom app option" width="468" height="392" data-path="images/en/canal-teams-cargar.png" />
    </Frame>

    Teams shows you the **minai** app: tap **Add** and then **Open**.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-agregar.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=6591b6cd80b1184b3aa55a61b7c5bf21" alt="The minai app in Teams, with the Add button" width="694" height="324" data-path="images/en/canal-teams-agregar.png" />
    </Frame>
  </Step>

  <Step title="Send it the code">
    In the chat with minai, send the code minai showed you (for example, `K9W-N84`). The code works once and expires in an hour: if it did, pick Teams again in minai to get another one.
  </Step>

  <Step title="Done">
    minai shows that your agent writes to you in Teams, with **Open Teams** and **Done**. Your agent writes first in the chat.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-chat.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=c9717e4921a9116d8c309c7c3364efed" alt="Teams chat with minai: the code sent and Clara's first message" width="975" height="260" data-path="images/en/canal-teams-chat.png" />
    </Frame>
  </Step>
</Steps>

In this way you have **a single personal agent on Teams**: for another one, pick another channel for it, or use several agents.

## Several agents, each in its own channel

minai shows you four steps and a code:

<Frame caption="The steps for a team of agents">
  <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-equipo-pasos.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=0c0af12a32f0785fcd06ad0202dbc881" alt="Steps: download the app, create a team, upload the app to the team and mention it with the code" width="664" height="390" data-path="images/en/canal-teams-equipo-pasos.png" />
</Frame>

<Steps>
  <Step title="Download the minai app">
    Tap **Download the minai app** (a `minai-teams.zip` file).
  </Step>

  <Step title="Create a team for your agents">
    In Teams, in **Chat** (or **Teams**), tap the new icon → **New team**. Name it (for example, "My minai agents"), leave it **Private** and don't add anyone else: that way only you see your agents' channels.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-crear-equipo.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=a8c1db2f6cffa78f34978a55832fea59" alt="Create a team window, with a team name and the Private type" width="702" height="625" data-path="images/en/canal-teams-crear-equipo.png" />
    </Frame>
  </Step>

  <Step title="Upload the app to that team">
    In the team, tap **⋯** → **Manage team**.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-menu-equipo.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=a9a2702d5d4ac5df2e6bca749af393d8" alt="Team menu with the Manage team option" width="378" height="320" data-path="images/en/canal-teams-menu-equipo.png" />
    </Frame>

    In the **Apps** tab, tap **Upload an app**, pick `minai-teams.zip`, tap **Add** and then pick a channel of the team and **Go**.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-equipo-apps.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=7fb26334b64c84cc29f616ce0aed2ef3" alt="The team's Apps tab, with Upload an app" width="958" height="270" data-path="images/en/canal-teams-equipo-apps.png" />
    </Frame>
  </Step>

  <Step title="Mention minai with the code">
    In any channel of the team, type `@minai`, pick **minai** in the list and add the code (for example, `@minai Q8H-54D`). Send it.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-mencion.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=a7154df4c08255a26d8d4d888903e404" alt="A message in the channel: the mention of minai and the code" width="700" height="260" data-path="images/en/canal-teams-mencion.png" />
    </Frame>
  </Step>

  <Step title="minai creates the agent's channel">
    minai creates a channel named after your agent and answers in the thread. Your agent writes first there.

    <Frame>
      <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-canal-creado.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=1fd2cbb251a95d599466defeebe1ab2e" alt="minai's answer: the agent has its channel" width="911" height="234" data-path="images/en/canal-teams-canal-creado.png" />
    </Frame>
  </Step>
</Steps>

Teams keeps new channels **hidden** in your list. The first time, tap the channel's link in minai's answer, or go to **See all channels** and tap **Show** next to your agent's channel.

<Frame caption="The team's channels: Show the agent's">
  <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-ver-canales.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=97ec3cf0ea76d5e173a26b9212d4bd67" alt="List of the team's channels with the Clara channel and the Show button" width="958" height="285" data-path="images/en/canal-teams-ver-canales.png" />
</Frame>

<Frame caption="Clara's channel: you answer in the thread, without mentioning her">
  <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-canal.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=31ac88ee22a4c2594a1283dc5998c92b" alt="Clara channel in Teams: the agent's first message, an answer without a mention and Clara's reply" width="830" height="300" data-path="images/en/canal-teams-canal.png" />
</Frame>

From the second agent on there are no more steps: when you pick Teams, minai creates its channel in your team and the agent writes to you there.

<Frame caption="The next agent gets its channel right away">
  <img src="https://mintcdn.com/min-ai/5r0cJg5AJzfrYQom/images/en/canal-teams-listo.png?fit=max&auto=format&n=5r0cJg5AJzfrYQom&q=85&s=93b0a01338d735f104be933c7d27797b" alt="Clara writes to you in its channel, with Open Teams and Done" width="468" height="221" data-path="images/en/canal-teams-listo.png" />
</Frame>

In its channel you write to it **without mentioning it**: a new post or an answer in a thread reaches it all the same.

## Agents for a group

A group agent uses a channel of a team (or a Teams group chat) where the minai app is:

1. If it isn't there yet, upload the app to that team (**⋯** → **Manage team** → **Apps** → **Upload an app**).
2. In the channel the agent will use, type `@minai` and the code minai shows you.

The agent stays in that channel and everyone there talks to it, without mentioning it. See [Agents for a group](/en/reference/channels/groups).

## How it behaves

* **Format:** bold, italics, code, lists, quotes and links. **No tables, headings or strikethrough.** Very long messages arrive split.
* **Name:** Teams shows every message as **minai**, not with the agent's name. In an agent's channel you know it by the channel's name; where several share a space, the message starts with its name.
* **Buttons:** options show as buttons under the message. You tap one and the message marks it with ✓. See [Buttons and options](/en/reference/agent/buttons).
* **While it works:** you see "typing…".
* **Files and photos:** the ones you send reach it (up to 15 MB). The agent can send you images; other files not yet.
* **Reactions:** yours reach it; the agent can't react on Teams.
* **Only you:** in a personal agent's chat or channel, only whoever connected it talks to it.
* **To stop it:** send `/stop` on its own.

## Limits

* Teams comes with the Pro and Business plans, like Slack. See [Plans](/en/reference/plans).
* In the direct chat, a single personal agent.
* Teams **private** channels aren't used for agents: Teams makes you mention the app in every message there.
* If the minai app is removed from the chat or the team, the agents stop talking there. Connect them again from **Where it talks**.
* If in a team your agent only answers when you mention it, remove the minai app from that team and upload it again (it happens when an older version of the app was uploaded). Then connect your agents again from **Where it talks**.
* Teams gives you the notifications of its messages.

<CardGroup cols={2}>
  <Card title="Agents for a group" icon="users" href="/en/reference/channels/groups">
    An agent in a Teams channel, for the whole team.
  </Card>

  <Card title="Compare channels" icon="table" href="/en/reference/channels/comparison">
    What changes from one channel to another.
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.