# API chatbot

## Chatbot settings

To add an API chatbot, click on the ***Add*** button, and enter a name and possibly an avatar in the **Appearance** subsection.

Next, proceed to **Connection**, where you select the ***"Mluvii Chatbot API"*** type and Callback URL. Click the **Check** button to verify the connection is working.

{% hint style="info" %}
*In **Behaviour**, you can choose to start the session automatically, so that the client does not have to type anything into the chat box to start communication with the chatbot. Just click on the widget and the chatbot will start communicating immediately.*

*More information can be found* [*here*](/en/for-administrators/tenant-management/settings/chatbots.md#chatbot-behavior)*.*
{% endhint %}

At the end, there is an API key, which is used to authorize the Mluvii platform.

{% hint style="success" %}
*As a Company Administrator, you can also find this API key among your company's existing API keys.*
{% 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://docs.mluvii.com/en/for-administrators/tenant-management/settings/chatbots/api-chatbot.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.
