# Slack Channel Integration

## The Slack channel integration in Ebbot

The Slack app connects Ebbot to your Slack workspace and will enable your end users to chat with your chat agent through direct messages.

You can find the required integration credentials and step-by-step screenshots in your Ebbot account.&#x20;

## Requirements and setup

Follow these steps to setup the Slack integration.

### Create a Slack workspace

You will need to create a Slack workspace if you don't already have one.&#x20;

### Create a Slack app

1. Navigate to <https://api.slack.com/>.
2. Click **Create an app**.
3. Choose **From an app manifest**.
4. Select your Slack workspace and press **Next**.
5. In Ebbot App, download/copy the JSON manifest.
6. Update `features -> bot_user -> display_name` to your desired bot name.
7. Remove the example manifest and paste the manifest JSON you just edited.
8. Press **Next**, then **Create**.
9. Go to **App Home -> Show Tabs** and enable **Allow users to send Slash commands and messages from the messages tab**.

### Install the app

1. Go to **OAuth & Permissions** in the left sidebar and press **Install App**.
2. Allow the requested permissions.
3. Return to **OAuth & Permissions** and copy the OAuth token.
4. Paste the token into your Ebbot chat platform.

### Add image restrictions

This is required to allow Slack users to send images.

1. Use an owner account to access **Restrictions**.
2. In Ebbot App, go to **Settings / Restrictions** and click the **+** in the top-right corner.
3. Create a restriction:
   * Type: `file origin`
   * Kind: `whitelist`
   * Value: `files.slack.com`
   * Status: `active`
4. Save the restriction.

You are done. Congratulations on integrating Ebbot chat into your Slack workspace.

## Supported message types

The Slack integration for chat supports the following types of messages:

* **Text:** Standard conversational messages.
* **Lists**: Lists of content
* **Location**: Share locations
* **Carousel**: Display carousels with different content.
* **EbbotGPT:** AI-assisted responses for more complex questions.
* **Images and Files:** User-shared media and documents.
* **Intermediates:** Hidden messages used to update data within the chat flow.
* **Input Strings:** Targeted prompts for collecting specific user data.
* **Multiselect:** Multiple-choice options for predefined selections.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ebbot.ai/ebbot-docs/integrations/chat-integrations/channel-integrations/slack-channel-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
