# Slack

{% hint style="success" %}
Available as an add-on for paid plans
{% endhint %}

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

### How to connect to Slack with My AskAI

1. Sign in to your Slack Workspace as an **admin**<br>
2. **Add My AskAI** to your Slack to your Workspace\
   \
   Click below :point\_down:

&#x20;       [![Add to Slack](https://platform.slack-edge.com/img/add_to_slack.png)](https://slack.com/oauth/v2/authorize?client_id=3639755760257.5036828617799\&scope=channels:history,channels:join,chat:write,commands,groups:history,im:history\&user_scope=)<br>

3. **Get your My AskAI's ID and API Key**\
   \
   Go to ***Channels > Slack & Teams*** and click the Slack icon then copy your My AskAI's **ID** and **API Key**.<br>
4. **Add your My AskAI's ID and API Key to Slack**

   1. Select the My AskAI app within Slack&#x20;
   2. Select 'Connect My AskAI'
   3. Input the ID and API Key, from step 3, into the popup within Slack
   4. Select 'Submit' to save these settings

   <figure><img src="/files/5dwoKdB8YdEzlILlrQye" alt=""><figcaption></figcaption></figure>
5. **Ask your first question with the /askAI command**\
   \
   You and your team can start asking questions to your AI support agent in any channel with the **/askAI** command, followed by your question.&#x20;

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

You can also use the **/askAI-help** command, for more help at any time.

e.g. **/askAI what is our refund policy?**

\
You can then ask follow-up questions within the same Slack thread and start a conversation with your AskAI.\
\
If you want to ask a question in a **private channel**, you need to add **@askai** to your channel. Just tag **@askai** and then select "Invite".<br>

{% hint style="info" %}
Your Slack bot will not search your Slack history.
{% endhint %}

{% hint style="info" %}
You can't change the name of the Slack Bot from "My AskAI" currently.
{% endhint %}


---

# 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://support.myaskai.com/features/channels/slack.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.
