# ChatBees Slack Bot

Answer the employees' questions automatically and instantly at any time in Slack. Employees simply type `/bees` to ask questions privately to the bot. You can also add ChatBees to a channel and employees can ask questions publicly in the channel.

Just follow a few simple steps to add a SlackBot to your Slack workspace:

1. Sign in to your account
2. Create a collection
3. Upload document, crawl a website or ingest a data source
4. Click the "Integrations"
5. Click the "Install" for Slack

<figure><img src="/files/PnkYumYj3ten9kShl9qj" alt=""><figcaption></figcaption></figure>

Grant the permission. ChatBees only requires the necessary permissions to read and send messages.

<figure><img src="/files/9EINOgLoqOsfqy2KHHIg" alt="" width="312"><figcaption></figcaption></figure>

The employee can directly ask the bot a question, and the interaction will remain private, visible only to the employee. Alternatively, you can add the ChatBees Slackbot to a public channel, allowing everyone in the channel to use the slash command `/bees` to ask questions publicly.

<figure><img src="/files/VNhNs6lzfTcXQsmRkgcE" alt=""><figcaption></figcaption></figure>

## /bees command

The `/bees your question?` command is used to ask a question against the collection. The bot will analyze all the documents and information that have been shared in the collection, and generate the relevant answer.

{% hint style="info" %}
The default permissions for `/bees` allow everyone to use it in the channel that ChatBees is added to. Please make sure you add ChatBees to the channels that people want to use it.
{% endhint %}

## Uninstall

Simply Uninstall the app in Slack.&#x20;


---

# 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.chatbees.ai/chatbees/chatbots/chatbees-slack-bot.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.
