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

# Use Twenty in Slack

> Connect the Slack app, link Slack accounts to workspace members, and fix the "not linked" message from the bot.

With the Slack app, you can mention `@Twenty` in a channel or send it a direct message to look up, create and update records. The bot only answers people whose Slack account is linked to a member of your Twenty workspace, and it acts with that member's permissions.

Everything on this page is set up **in Twenty**, under **Settings → Apps → Slack**. There is nothing to configure inside Slack itself.

> [!NOTE]
>
> Using Twenty in Slack's side panel next to your conversations requires a paid
> Slack plan. On free Slack plans, mention `@Twenty` in a channel or send it a
> direct message instead.

## Connect Slack to your workspace

1. In Twenty, go to **Settings → Apps**, open **Slack** in the **Marketplace** tab and click **Install**.
2. Open the Slack app from the **Installed** tab. On its **Overview** tab, click **Add connection** and approve the install in Slack.
3. In Slack, type `/invite @Twenty` in a channel and mention the bot with your question, or send it a direct message.

On a self-hosted instance, a server admin creates the Slack app and sets its credentials first. See the [self-hosting setup guide](https://github.com/twentyhq/twenty/blob/main/packages/twenty-apps/public/slack/SETUP.md).

## How Slack accounts get linked

### Automatically, by email

A Slack account is linked automatically when its email is the same as the email of a member of your Twenty workspace. This is checked when Slack is connected and again every time someone messages the bot, so most people never have to do anything, including members invited to Twenty later.

The automatic match only applies to full members of the Slack workspace that installed the app, with a confirmed email. It does not apply to:

* Slack guests and Slack Connect users from another Slack workspace
* People whose Slack email is different from their Twenty email
* An email shared by two Twenty workspace members

### Manually, by an admin

For everyone else, a member with the **Roles** permission links the account by hand:

1. In Twenty, go to **Settings → Apps**, open **Slack** from the **Installed** tab, then open its **Settings** tab.
2. Under **Unlinked Slack users**, pick a workspace member on the row of the Slack user and click **Link**. To link everyone whose email matches in one go, click **Auto-link by email**.
3. If the person is not in the list, click **Link someone not listed above**. Guests and Slack Connect users can be linked by their Slack ID from there.

What happens next depends on the link:

* **A full Slack member whose email matches the Twenty member**: the link is active right away.
* **Anyone else in your Slack workspace**, guests included: the bot sends the person a direct message in Slack with **Approve** and **Decline** buttons. The link shows as **Awaiting consent** until they approve.
* **An account outside your Slack workspace** (Slack Connect): the link is active right away and shows as **Admin set**.

The **Slack user links** section of the same tab lists every link with its status. From there you can remove a link or resend a pending approval request.

## Fix the "not linked" message

When the bot replies that it can only help Slack accounts linked to a workspace member, it could not match the Slack account to a member of your Twenty workspace.

Check these in order:

1. **You don't have a Twenty account in this workspace.** Ask an admin to invite you with the email you use in Slack. You are then linked automatically.
2. **Your Slack email and your Twenty email are different.** Ask an admin to link you manually in **Settings → Apps → Slack → Settings**, then approve the request the bot sends you in Slack.
3. **You are a guest or a Slack Connect user.** You are never matched by email. Ask an admin to link you manually in the same place.
4. **An admin already linked you but you have not approved.** Look for a direct message from the bot in Slack and click **Approve**. If you can't find it, ask the admin to resend it from the **Settings** tab. If you declined, the admin has to remove the link and add it again.

Then send your message to the bot again.

## Who can do what

| Action | Who |
| - | - |
| Install Slack, open **Settings → Apps** and the app's tabs | Members whose role has the **Workspace Apps** permission |
| Link, unlink, auto-link by email, resend an approval request | Members whose role has the **Roles** permission |
| Approve or decline a manual link | The Slack user being linked, from the bot's direct message |
| Ask the bot questions | Anyone with a linked Slack account, with the permissions of their Twenty member |

A member without the **Roles** permission can review the existing links but can't change them, including their own. A member with the **Roles** permission can link any account, their own included.

Roles and their permissions are managed in **Settings → Members → Roles**. See [Permissions](https://docs.twenty.com/user-guide/permissions-access/capabilities/permissions.md).


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