# API chatbot

## Nastavení chatbota

API chatbota přidáte kliknutím na tlačítko ***Přidat***, zadejte jméno a případně i avatara v rámci podsekce **Zobrazení**.

\
Dále pokračujte na **Připojení**, kde vyberte typ "***Mluvii Chatbot API***" a Callback URL. Tlačítkem ***Zkontrolovat*** ověříte funkčnost připojení.

{% hint style="success" %}
*V **Chování** můžete zvolit automatický start sezení, díky kterému klient nemusí k nastartování komunikace s chatbotem cokoli psát do chatového pole. Postačí jen kliknout na widget a chatbot začne komunikovat ihned.*\
\
*Více informací naleznete* [*zde*](/pro-administratory/sprava-tenantu/nastaveni/chatboti.md#chovani-chatbota)*.*
{% endhint %}

Na konci je uvedený API klíč, kterým se autorizuje vůči platformě Mluvii.

{% hint style="success" %}
*Jako Správce společnosti tento API klíč naleznete také mezi existujícími* [*API klíči*](/pro-administratory/sprava-spolecnosti.md) *společnosti.*
{% 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/pro-administratory/sprava-tenantu/nastaveni/chatboti/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.
