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

# YClients

Запись клиентов в салон через интеграцию с YClients

Интеграция с YClients — агент записывает клиентов в салон из диалога.

## Шаг 1

В кабинете Афины откройте [**Интеграции**](/documentation/ru/integracii.md) и нажмите **Подключить** на карточке yclients.

![](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2F039vFwiSzh17wNcJnnY1%2Fyc-01.png?alt=media)

## Шаг 2

Откроется список филиалов. Нажмите **Подключить филиал**.

![](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FmKXFbEjtZ3Dk8E63VrEV%2Fyc-02.png?alt=media)

## Шаг 3

В YClients откроется карточка приложения «Афина ИИ. ИИ-агенты». Нажмите **Подключить**.

![](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FQS6KoiXxCdATaVk0IhjY%2Fyc-03.png?alt=media)

## Шаг 4

Подтвердите доступ к филиалу — нажмите **Продолжить**.

![](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2F6k9ykSsoitMMkEexXIJE%2Fyc-04.png?alt=media)

## Шаг 5

Филиал появится в списке со статусом «Подключен». Чтобы задать правила записи, нажмите **Редактировать**.

![](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FkEVhIke4fFC400JYmVlF%2Fyc-05.png?alt=media)

## Шаг 6

Настройте правила записи в филиале.

![](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2F8x2wfTzpbsVbE0AkHgrG%2Fyc-06.png?alt=media)

**Разрешить назначение сеанса** — агент может записывать клиентов в этот филиал.

**Запретить добавление новой записи, при наличии активной записи** — если у клиента уже есть активная запись, новую создать нельзя.

**Разрешить отмену и перенос записи** — агент может отменить или перенести запись.

**Использовать комментарий к записи** — к каждой записи добавляется комментарий. По умолчанию: «Создано Афиной».

Нажмите **Сохранить**.

## Шаг 7

В настройках агента откройте вкладку **YCLIENTS**, выберите нужный филиал и нажмите **Сохранить изменения**.

![](https://4126380821-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwirYrs8odJMFan3KqfzY%2Fuploads%2FQGWhjZwBfZBPEr9ibG5d%2Fyc-07.png?alt=media)


---

# 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 following URL with the `ask` and `goal` query parameters:

```
GET https://docs.athenachat.ai/documentation/ru/integracii/yclients.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `build a script that syncs our docs to a CMS` lets GitBook tailor the answer to that use case.

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.
