# Slack

---

Enjo integrates with Slack so your AI Agents can receive and resolve requests directly inside your Slack workspace. Once connected, all AI agents in the workspace can use the Slack integration.

It is recommended to use a **Slack admin account** when setting up the integration to ensure proper permissions.

## **Prerequisites**

- Admin permissions in Enjo
- Slack workspace admin account

## **Integration Type**

- **OAuth 2.0 (Delegated, user-based connection)**
- Enjo connects to Slack through the standard Slack OAuth flow.
- Permissions are granted at the workspace level during authorization.

## **Required Permissions**

When authorizing the Slack integration, Enjo will request the following permissions:

Enjo requires **Bot Token Scopes** (workspace-level) and some **User Token Scopes**.

### **Bot Token Scopes**

**Scope**

**Description**

**Purpose**

channels:history

View messages in public channels Enjo is added to.

Sync historical data to AI Agents knowledge.

channels:join

Join public channels.

Allow Enjo to be added via dashboard.

channels:manage

Manage/create public channels.

Create channels during triage.

channels:read

View public channel info.

Setup Enjo AI Agents in chosen channels.

chat:write

Send messages as Enjo.

Post responses and notifications.

chat:write.customize

Send messages with custom name/avatar.

Post as customized identity.

chat:write.public

Post to channels Enjo isn’t a member of.

Send responses to external channels.

commands

Add slash commands.

Support Enjo’s command features.

emoji:read

Read custom emojis.

Support emoji-based actions.

files:read

Read shared files.

Sync files with ticketing systems.

groups:history

Read private channel history.

Build AI Agents knowledge base.

groups:read

Read private channel info.

Setup AI Agents in private channels.

groups:write

Manage/create private channels.

Create dedicated triage channels.

im:history

Read direct message history.

Sync DM-based conversations.

im:read

Read DM info.

Identify/setup DM AI Agents.

im:write

Start DMs with users.

Verify/create bot DM channels.

mpim:history

Read group DM history.

Build AI Agents knowledge base.

mpim:read

Read group DM info.

Set up AI Agents in group DMs.

reactions:read

Read emoji reactions.

Trigger actions from reactions.

reactions:write

Add emoji reactions.

React to messages programmatically.

users:read

View user info.

Map Slack users to external accounts.

users:[read.email](http://read.email)

View user emails.

Sync user identity across apps.

### **User Token Scopes**

**Scope**

**Description**

**Purpose**

openid

View identity info.

Authenticate users securely.

### Connection Steps

- Login to **[Enjo dashboard](https://app.enjo.ai)** - Settings- Apps.
- Click on 'Connect Apps' and select 'Slack'.
- Click on 'Add New'
- You will be redirected to the Slack page. Choose the workspace and click on 'Allow'.

You will be redirected to the Enjo App. You can see your connection under Apps. Every Enjo AI agent in the workspace would be able to use your connection.
