> For the complete documentation index, see [llms.txt](https://docs.suvvy.ai/ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.suvvy.ai/ru/kanaly/khelpdesk-sistemy/usedesk.md).

# UseDesk

### Подключение UseDesk к агенту в Савви

Заходим во вкладку “**Каналы**”, нажимаем **"UseDesk"**

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

В разделе **Инструкция по подключению** переходим по ссылке <https://secure.usedesk.ru/settings/channels/api>

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

Вписываем **Название канала**

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

Копируем **Redirect url** с кабинета **Савви** по кнопке ниже:

<figure><img src="/files/8ICS5KqGwPgeTzv61UO9" alt=""><figcaption></figcaption></figure>

И вставляем в **Redirect url**

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

Выбираем каналы, в которых должен работать агент:

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

Включаем "**JSON-запрос**" и "**отправлять в UFT-8**"

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

В группе "**Отслеживание чатов**" отмечаем галочками все пункты и нажимаем "**Сохранить**"

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

Копируем **ID приложения** и С**екретный ключ**

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

И вставляем во вкладке "**Подключение**" в настройках интеграции в **Савви** и нажимаем "**Подключить**".

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

В открывшемся окне можно настроить следующие параметры:

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

* **Email пользователей, которым агент не будет отвечать (через запятую)** - здесь можно указать почту сотрудников либо пользователей, которых добавляем в чёрный список.
* **Выбираем агента, от чьего лица будет отвечать агент** - в это поле можно выбрать сотрудников, которые есть в **UseDesk**.

{% hint style="warning" %}
У сотрудника, **от чьего лица будет отвечать агент**, должны быть включены разрешения для отправки сообщений в выбранные каналы.
{% 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, and the optional `goal` query parameter:

```
GET https://docs.suvvy.ai/ru/kanaly/khelpdesk-sistemy/usedesk.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
