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

# Slack

> Ask the Matys AI analyst questions from any Slack channel or direct message.

Install Matys in your Slack workspace, then mention it in a channel or message it directly. Answers arrive in the same thread.

> [!NOTE]
>
> Slack is not available to every workspace yet.

## Install Matys in Slack

An organization admin installs Matys once for the whole organization.

**1. Open the Slack settings**

Go to **Settings → Integrations** and open **Slack**.

**2. Connect**

Click **Connect Slack**. Slack opens.

**3. Approve in Slack**

Approve the app for your workspace. If your workspace requires app approval, a Slack workspace
admin may need to approve it.

Back in Matys, the page shows your Slack workspace as **Connected**, with the date it was connected.

One organization connects to one Slack workspace. A Slack workspace can only be connected to one organization.

### Update the Slack app

When Matys needs new Slack permissions, the Slack settings page shows **Update the Slack app**. Click **Update Slack app** to reinstall it and grant them. Matys may also ask in Slack for an update.

## Link your Slack account

Each person links their own Slack account to their Matys account. Matys answers only people whose accounts are linked and who are members of the connected organization.

If your Slack email matches your Matys email, Matys links you automatically the first time you ask. It tells you which account it used.

Otherwise, Matys replies privately with a **Connect** button:

**1. Click Connect**

Click **Connect** in the Slack message. Matys opens in your browser.

**2. Confirm**

On **Link Slack**, check your Slack user, workspace and Matys organization. Click **Confirm**.

**3. Ask away**

Go back to Slack and ask Matys anything.

To link a different Matys account, send `@Matys login` in Slack.

> [accordion] The link has expired or was already used
>
> A Connect link works once and expires after 15 minutes. Send `@Matys login` in Slack to get a
> new one.

> [accordion] Your account isn't a member of the organization
>
> Your Matys account must belong to the organization connected to the Slack workspace. Ask an
> admin for an invite. See [Members](/docs/workspace/members.md).

> [accordion] Matys says it already sent several Connect links
>
> Use one of the links you already have, or try again in 15 minutes.

## Ask questions in Slack

* **In a channel**, mention `@Matys` with your question. Matys answers in a thread.
* **In a direct message**, write to Matys without a mention.
* **In a thread Matys already joined**, reply without a mention. Matys answers when your message is addressed to it.

Each Slack thread is one Matys chat. Matys reads the earlier messages in the thread as context.

Matys queries the data sources you can access in Matys. If you have none, it asks you to set one up first. See [Data sources](/docs/data-sources.md).

### While Matys works

Matys reacts with 👀 while it works on your message. When it finishes, it swaps the reaction for ✅. If it cannot answer, it swaps the reaction for ⚠️ and explains why in the thread.

Matys answers one question at a time per thread. If you ask again before it replies, it asks you to wait.

### Replies

* Charts in the answer are posted in the thread.
* Long tables are cut short. The reply says how many rows it shows and links to the full table.
* **Open in Matys** opens the chat in the web app.
* **Good answer** and **Bad answer** send feedback on the reply.

### Files

Attach files to your message and Matys reads them. A file larger than 25 MB, or of an unsupported type, is skipped. Matys tells you which files it could not read and answers without them.

The files in one thread can add up to 45 MB at most. Past that, Matys does not answer and asks you to start a new thread with fewer files.

## Unlink your Slack account

Open **Settings → Profile**. Under **Slack**, click **Unlink**.

## Disconnect Slack

Only an organization admin can disconnect Slack.

**1. Open the Slack settings**

Go to **Settings → Integrations → Slack**.

**2. Disconnect**

Click **Disconnect**.

Matys stops answering in that Slack workspace.


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