# Kết nối Ladipage với ABOT

### Cách 1: Nhúng form ABOT sang Ladipage

#### Bước 1: Tạo form trên abot

Bạn tạo 1 form trên abot với các trường thông tin bạn cần.

![](/files/-Mj0gjHXHEjphFgZtWaB)

Bước 2: Nhúng form sang ladipage

Lấy mã javascript hoặc ifame để nhúng form sang ladipage

![Lấy mã nhúng form abot](/files/-Mj0hYOSgbqvN5kCqqv0)

Sau đó thêm html trên ladipage và dán mã nhúng vào ladipage

![Dán mã nhúng form abot vào ladipage](/files/-Mj0i9jV-kOCgpYpNTAc)

Vậy là bạn đã nhúng được form của abot vào ladipage

### Cách 2: Sử dụng form của ladipage và kết nối qua abot

#### Bước 1: Tạo form trên abot

![Ví dụ form trên abot](/files/-Mj0gjHXHEjphFgZtWaB)

Bước 2: Tạo form trên ladipage

Khi tạo form trên ladipage bạn cần tạo thêm 1 trường ẩn chứa id form của abot. Ở đây form mẫu của mình có id là 5 nên sẽ điền giá trị mặc định là 5.

![Tạo trường ẩn chứa id form của abot](/files/-Mj0j_tXMmL6DtguM_3L)

Tiếp theo đến phần cấu hình form. Bạn chọn tài khoản liên kết là API và cấu hình như bên dưới ảnh.

## Nhập API URL

<mark style="color:green;">`POST`</mark> `https://company.abot.vn/abot/submit`

#### Request Body

| Name             | Type   | Description              |
| ---------------- | ------ | ------------------------ |
| abot\[ten\_html] | string | tên html form trong abot |
| abot\[formId]    | string | id form                  |

{% tabs %}
{% tab title="200 " %}

```



```

{% endtab %}
{% endtabs %}

![](/files/kjfCKYhfmUB8tETrKNsH)

Như vậy là dữ liệu đã được kết nối từ ladipage sang abot


---

# 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.abot.vn/tich-hop/ket-noi-ladipage.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.
