> For the complete documentation index, see [llms.txt](https://docs.jedidesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.jedidesk.com/vidzhet/dodati-chat-na-sait/vstanovlennya-chatu-jedidesk-na-wordpress.md).

# Встановлення чату #jedidesk на WordPress

1. [**Створіть віджет #jedidesk**](/vidzhet/yak-stvoriti-chat-jedidesk.md) та скопіюйте згенерований код.
2. Авторизуйтесь як адміністратор на вашому сайті **WordPress** чи Інтернет-магазині з **WooCommerce**.
3. Відкрийте вкладку **Вигляд -> Редактор тем.**
4. Оберіть зі списку встановлених тем, ту яку ви використовуєте, та натисніть на  шаблон "Підвал сайту" під назвою **footer.php:**
5. Вставте код чату #jedidesk перед тегом <mark style="color:red;">**\</body>**</mark> та натисніть <mark style="background-color:blue;">**Оновити файл**</mark>:

<figure><img src="/files/OxhyJZPchOCsWrUNiftx" alt=""><figcaption><p>Встановлення чату #jedidesk на WordPress</p></figcaption></figure>

{% hint style="success" %}

#### Доповнення та додаткові методи

1. Більшість тем мають спеціальне місце для вставки додаткового коду для аналітики чи інших скриптів. Спочатку рекомендовано пошукати таке місце у вашій темі.
2. Якщо ви не змогли, з будь-яких причин, знайти файл **footer.php,** ви можете аналогічно вставити код віджету у файл **header.php (Заголовок теми)** перед відкриваючим тегом <mark style="color:red;">**\<body>**</mark>
   {% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.jedidesk.com/vidzhet/dodati-chat-na-sait/vstanovlennya-chatu-jedidesk-na-wordpress.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.
