> For the complete documentation index, see [llms.txt](https://alhena.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://alhena.gitbook.io/docs/integrations/communication/integrating-alhena-ai-with-slack.md).

# Slack

## Setting Up The Slack Integration

To get started, from the Alhena dashboard, navigate the the Settings page and click on Integrations. Then, click the toggle next to Slack.

<figure><img src="/files/8cBVMwH2AOEia1xrE9UU" alt=""><figcaption></figcaption></figure>

You will be directed to Slack's website where you can authorize Alhena to connect to your Slack workspace.

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

After you click Allow, you'll be redirected back to Alhena. The bot is now installed into your Slack workspacce.

## How To Ask Questions To The Bot

You can chose to use Alhena AI either in a channel or stand alone:

#### (1) Use it in a Slack Channel

Alhena will automatically answer any questions based on your knowledge base when mentioned directly in a message.

\
First, make sure to add the bot to any channel you'd like it to answer questions in.

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

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

Now, you can type questions and mention to bot, and it start to generate a response.

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

Alhena will create a new thread and stream in the response as it's being generated.

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

You can ask any followup questions in this same thread.

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

#### (2) Use it as a stand alone bot

Once installed, you can see Alhena AI under the list of Apps inside your slack (lower left corner ):

<figure><img src="/files/7PlDS86ubIWhJc1a814T" alt="" width="372"><figcaption><p>Alhena AI App in slack</p></figcaption></figure>

To starting using, simply click on the \`Alhena AI\` app and type you question like you send a message to a colleague. It will create a thread for all new questions. You can ask follow-up questions in the same thread.<br>

<figure><img src="/files/46u619zldLw1CKpPN2fW" alt=""><figcaption></figcaption></figure>
