# 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="https://3559248360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1Vse36vHZbUu8eaHapRv%2Fuploads%2Fcf3QlqZy4XzHPlZPeutp%2Fimage.png?alt=media&#x26;token=99306035-6c65-4ba3-a418-4eda6a9c7ee0" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3559248360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1Vse36vHZbUu8eaHapRv%2Fuploads%2FLpU56TC7vVVfOE4dHYx3%2Fimage.png?alt=media&#x26;token=106cb672-d317-4224-9f63-4c91abdfbdbe" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3559248360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1Vse36vHZbUu8eaHapRv%2Fuploads%2F9apAbhgIYlFUBGBG9fWI%2Fimage.png?alt=media&#x26;token=e135e1f0-001d-4d50-a692-14c954d83dc6" 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="https://3559248360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1Vse36vHZbUu8eaHapRv%2Fuploads%2FGCYGHd1zsANMnfrmgfPV%2Fimage.png?alt=media&#x26;token=74050c5f-8588-44d4-a6a5-9f8f21c92c3d" 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="https://3559248360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1Vse36vHZbUu8eaHapRv%2Fuploads%2FLokifX6uvy2psCwjCVFt%2Fimage.png?alt=media&#x26;token=abc28306-c9d0-4815-b8a2-8e16b214d95b" alt=""><figcaption></figcaption></figure></div>

<figure><img src="https://3559248360-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1Vse36vHZbUu8eaHapRv%2Fuploads%2FSGf9dVYZaFuInhNuP5yP%2Fimage.png?alt=media&#x26;token=fb136232-e655-4ba5-b812-77f83066abd9" alt=""><figcaption></figcaption></figure>

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