> For the complete documentation index, see [llms.txt](https://doc.nextbot.ru/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.nextbot.ru/functional/functions/sending-result/forma-personalnykh-dannykh/kak-nachat-ispolzovat-formu-personalnykh-dannykh.md).

# Как начать использовать форму персональных данных

Чтобы использовать форму персональных данных, [добавьте в вашу функцию действие "Форма персональных данных".](/functional/functions/sending-result/forma-personalnykh-dannykh/dobavlenie-deistviya-forma-personalnykh-dannykh.md)\
После настройки этого действия ссылка на форму начнёт отправляться во все подключённые каналы связи.

## Как подключить форму в чат на сайт

Чтобы форма отображалась:

* [в виджете на сайт](/functional/integrations/chat-na-sait/vidzhet-dlya-saita.md),
* [во встроенном чате на сайт (iframe)](/functional/integrations/chat-na-sait/chat-lending-na-veb-sait-iframe.md),

необходимо выполнить следующие действия:

* создать функцию [с настроенным действием "Форма персональных данных",](/functional/functions/sending-result/forma-personalnykh-dannykh/dobavlenie-deistviya-forma-personalnykh-dannykh.md)
* перейти в настройки интеграции "Чат на сайт",
* настроить внешний вид формы в интерфейсе виджета и/или встроенном чате на сайт (Подробнее про настройку внешнего вида формы в чате на сайт вы можете узнать в статье: [Стили формы персональных данных в чате на сайта](/functional/integrations/chat-na-sait/stili-formy-personalnykh-dannykh-v-chate-na-sait.md)),
* сохранить изменения и встроить чат на сайт (если у вас уже есть встроенный чат, необходимо обновить его код).

  <figure><img src="https://2593311972-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fef2EBU68XAlye1NtG8DF%2Fuploads%2FrFCPs0Kb6nymzZe1vibo%2Funknown.png?alt=media&amp;token=34636f9c-507c-4f46-b033-b2642bc9d9fd" alt="" width="361"><figcaption></figcaption></figure>


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://doc.nextbot.ru/functional/functions/sending-result/forma-personalnykh-dannykh/kak-nachat-ispolzovat-formu-personalnykh-dannykh.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 `automate deployments from our CI pipeline` 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.
