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

# Slack

> Connect Slack so Agentwork learns from your channels, and talk to Agentwork in direct messages and channel threads.

Agentwork learns from your Slack channels and can post and send messages for you. Your team can also talk to Agentwork directly in Slack.

## Install

### Before you start

* An owner or admin in Agentwork connects the Slack workspace.
* In Slack, you need to be an admin or allowed to install apps. Your workspace may require an admin to approve the app.

### Connect your Slack workspace

You create a Slack app for your workspace from a manifest that Agentwork gives you.

1. Go to **Connections**, select **Slack**, and choose **Workspace**.
2. **Create the Slack app:** in Slack's app settings, choose **Create New App** → **Paste a manifest**, pick your workspace, and paste the manifest Agentwork shows. Select **Copy manifest** to copy it.
3. **Copy the app's credentials here:** copy the app's **Client ID**, **Client Secret** and **Signing Secret** from Slack into Agentwork.
4. **Add the app icon:** select **Download icon** and upload it to the app in Slack.
5. **Install the app in your Slack workspace:** select **Install in Slack**, allow the app, and Slack brings you back to Agentwork.

The person who connects Slack gets a welcome message from Agentwork in Slack. If you'd rather set it up together with us, the setup page has a link to book a call.

### Connect your own Slack account

Once the workspace is connected, each member can connect their own Slack account under **Connections** → **Slack** → **Your account**. This lets Agentwork learn from their private channels and direct messages.

## How it works in Agentwork

### What Agentwork learns from it

* **Workspace connection:** messages from public channels, and from private channels the app has been added to. Add the app to a private channel with `/invite @Agentwork`.
* **Your account:** private channels and direct messages you can access.

Turn off **Build memory from Slack** on the connection to stop importing. What was imported through that connection is removed from memory.

### What Agentwork can do in it

Agentwork can read and search messages, post in channels and send direct messages. Actions through your own account use your Slack permissions. Posting and sending ask for approval based on your [approval settings](https://docs.agentwork.com/approvals.md).

### Who sees what

* Messages in public channels are visible to everyone in your organization.
* By default, messages in private channels and direct messages are only visible to people who can see them in Slack.
* Owners and admins can change a channel's visibility, including making it visible to everyone, or ignore it, under **Connections** → **Sources**.

`/remove @Agentwork` takes the app out of a channel and deletes what Agentwork imported from it.

### Use Agentwork in Slack

* **Direct message:** send Agentwork a direct message, as you would a colleague. Each new message starts its own conversation.
* **Channel threads:** tag `@Agentwork` in a channel thread to ask with your colleagues. There, Agentwork only uses what everyone in the channel can see.
* **Continue on the web:** your Slack conversations also show up in Agentwork under the **Slack** view, and you can continue them there.
* **Requests and approvals:** you can answer requests and approve actions that reach you in Slack.

Only people whose Slack account is matched to an Agentwork account can use Agentwork in Slack. Accounts with the same email address are matched automatically, and owners and admins can match others under **Connections** → **Matching**. Invite them from [Members and roles](https://docs.agentwork.com/members.md).

## Disconnect or reconnect

Open **Connections** → **Slack** to reconnect or disconnect. Disconnecting removes what Agentwork imported through that connection.

## Related

* [Connect your tools](https://docs.agentwork.com/connections.md)
* [Approvals for actions in your tools](https://docs.agentwork.com/approvals.md)


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