# Microsoft Teams

> Add the DataxLand app to Microsoft Teams to receive reports and alerts with charts and to ask Si in channels or private chats; link your account with a one-time code.

DataxLand in Microsoft Teams does two jobs with one app:

- **Scheduled reports and alerts** delivered to a channel, group chat or private chat, with charts.
- **Ask Si** about your numbers: answers match the app (numbers, causes, confirmation level, an **Open in DataxLand**
  button) and count towards the workspace's AI-question quota. Askers need the Analyst role or above.

Teams is available on every plan that includes Slack.

## 1. Add the DataxLand app to Teams

, then keep asking in the thread."
/>

In Teams open **Apps**, search for **DataxLand** and click **Add**. If your company blocks third-party apps, ask your Teams admin
to allow DataxLand (Teams admin center → Apps). To use it in a channel: open the channel → **+** (Add an app) → DataxLand.

The **Chat connections** page and the new-destination dialog show an **Add DataxLand to Teams**
button when the server has an app install link configured.

## 2. Link your account to ask Si

1. Open **Account**, card **Chat connections**, click **Connect Microsoft Teams**.
2. Click **Create link code**. The code is single-use and expires after 10 minutes.
3. Open a **private chat** with DataxLand in Teams and send `link lk_<code>`. DataxLand replies "Linked to account…" and you're done.

For safety, a code sent in a channel or group chat is rejected (others can see it) and is not used up. Unlink with **Chat connections
→ Disconnect** or by sending `unlink`.

## 3. Ask

- **Private chat** with DataxLand: just type your question.
- **In a channel or group chat**: mention `@DataxLand` with your question. Teams only sends DataxLand the messages that mention it;
  DataxLand never reads anything else. The answer goes into the question's thread, visible to everyone in the channel.

A channel must be bound to one workspace: someone with the Admin role or above sends `@DataxLand ws <workspace name>` in that
channel. A channel already connected as a report destination (section 4) is bound automatically. Admins unbind it in **Settings →
Notifications → Q&A chats**.

## 4. Receive reports and alerts in Teams

1. Go to **Settings → Notifications**, click **Add Microsoft Teams**, name the
   destination (e.g. "Sales channel"), then click **Connect Microsoft Teams**.
2. In the channel, group chat or private chat where DataxLand is installed, send `@DataxLand connect nd_<code>` (the code expires
   after 15 minutes).
3. The destination switches to **Active**. Click **Send test** to check.

Then pick this destination when you create a [scheduled report or alert](/en/docs/alerts-reports). Each message is a card with a
title, the numbers and a button that opens the dashboard; the chart follows right after the card.

## Commands

Type them without a leading `/`, in a private chat or after `@DataxLand`:

| Command | What it does |
| --- | --- |
| `<question>` | Ask about your numbers |
| `think <question>` | Ask with deep thinking (counts as 3 questions) |
| `new` | Start a new conversation |
| `ws` | Show or switch workspace (in a channel: bind the channel to a workspace) |
| `link`, `unlink` | Link or unlink your account |
| `connect <code>` | Receive reports and alerts in this conversation |
| `help` | How to use it |

## Limits

- Long answers are cut at about 6,000 characters, with a button to open the full answer in DataxLand.
- Charts larger than 1 MB can't be sent (DataxLand charts are usually a few dozen KB).
- DataxLand can't post into Teams private channels; use a standard channel, a group chat or a private chat.
- Asking too fast returns "You're asking too fast; wait a few seconds and try again."
- Si never returns buyers' personal data in chat.

## Related

- [Ask Si in Slack](/en/docs/channels/slack)
- [Ask Si in Telegram](/en/docs/channels/telegram)
- [Reports and alerts](/en/docs/alerts-reports)
- [Members and roles](/en/docs/workspace/members)
