> For the complete documentation index, see [llms.txt](https://docs.userdesk.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.userdesk.io/product-guides/slack-integration.md).

# Slack integration

With Userdesk, you can integrate an AI Chatbot right into your Slack workspace.\
\
This is particularly useful if you have a community, or your team members need to quickly find the answers to their questions.

By integrating Userdesk into Slack, all the members of the Slack workspace will get a special command \`/userdesk ask \[question]\` to get an answer to a question from your AI Chatbot

To install Userdesk for Slack go to [this page](https://www.userdesk.io/userdesk-for-slack) and click on the button **Add to Slack.**

Confirm the installation by clicking **Allow.**

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

Slack will automatically open, and you'll be on the Home tab of Userdesk for Slack.

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

Go to the Messages tab, you will receive a message like this

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

Click on the **Click here** link, it will redirect you to Userdesk.\
\
If you are not logged in, login into Userdesk, and click the "Click here" link again.

{% hint style="info" %}
You need to have at least one AI Chatbot created in Userdesk to use the Slack integration.
{% endhint %}

If everything was correct, you can close the browser tab and return to Slack.

Click on the **Select Active Chatbot** dropdown and select your Chatbot from the list.\
Finally, click on the **Submit** button.

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

Your AI Chatbot is now linked and enabled on your Slack workspace!\
\
Use the \`/userdesk ask \[question]\` command to ask anything to your AI Chatbot.

<div align="center"><figure><img src="/files/kb8qdpgHd5CYdTfwXV5V" alt=""><figcaption></figcaption></figure></div>

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

You're ready to give extra power to your community or team!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.userdesk.io/product-guides/slack-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
