# Setup API Key in Kuasa

<mark style="color:red;">**Note:**</mark> <mark style="color:red;"></mark><mark style="color:red;">You need to setup the API Key for each phone number use for AI Chatbot. You may use the same API Key</mark>&#x20;

1. Login to your account via <https://campaigns.kuasa.io/>.
2. Click **Campaigns.**

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

3. Make sure that your WhatsApp device is connected to your Kuasa account. You may check the connection on your device settings.

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

4. Click **WhatsApp Integration**.

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

5. Make sure the connection is <mark style="color:blue;">**Connected**</mark>.

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

6. Click **AI Chatbot** on left side of your account.

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

7. Click **Item List**.&#x20;

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

8. Click the **triple colon** as instructed in the picture below and then, click **AI Settings**.

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

9. Enter the **API Key** you created in OpenAI. <mark style="color:red;">(All items and API keys will be lost if the device is deleted. Please save your API keys and prompts elsewhere as a backup.)</mark>
10. Click **Save Changes**.

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

You can now start creating item for your AI Chatbot.


---

# 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://tutorials.kuasa.io/getting-started/kuasa-campaigns/ai-chatbot/setup-ai-chatbot/setup-api-key-in-kuasa.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.
