# How to Build

There are essentially 7 steps in creating your Chatbots.

1. Building your Form
2. Adding page fields in-between each field
3. Adding page conditional logic [(see full article)](/building-your-gravity-bot/page-conditional-logic.md)
4. Enabling the 'Chatbot is Enabled' option in the settings tab&#x20;
5. Creating & Publishing your Chatbot Embed URL [(see full article)](/building-your-gravity-bot/chatbot-embed-url.md)
6. Updating your Chatbot Embed URL in the Gravity Bot settings
7. Auto Embed/Bulk Adding your Chatbot

{% hint style="info" %}
Building your Chatbots is virtually identical to building traditional forms with Gravity Forms, except, instead of adding conditional logic to individual fields you add them to page fields or also referred to as page break fields. Lastly, every Chatbot-enabled form needs to have page fields added in between each individual field, this is where page field conditional logic is added.
{% endhint %}

* To start go ahead and add all of the fields you need in the Gravity Forms visual drag-and-drop form editor. (We highly recommend the use of radio and/or checkbox fields)

![building your form](/files/8ct8XHjMIe73wBIbWtqB)

* Add page fields ie. page break fields in-between each field.

![](/files/GAPU6VyHxm8nvuGbfTmF)

* Add your page conditional logic to each page field ie. page break field.

![](/files/TJhhMVyzFan8yb2oBQ2R)

* Open your Chatbot settings page and click the option 'Chatbot is Enabled'.

![](/files/ry5KKji1p3V8iNVXV22L)

* Create a new WordPress page and embed your Chatbot-enabled form.
* Enable Ajax.
* Enable Form Title
* Add your Chatbot Page Title

![](/files/R9V2BilDbgDaLhjdfQqu)

* Add the new page URL/slug of the page you just embedded the form onto, to the Chatbot Embed URL field in your Chatbot settings page.

![](/files/Hyn7AKth6Ai2wbofsWdd)

* Lastly, click the Auto-Embed field to see a full list of your websites posts and pages. You can optionally choose individual pages or the "Select All" option to bulk-add your Chatbot sitewide.&#x20;

{% hint style="info" %}
**Please note:** If the *"Select All"* option has been selected you can remove posts and pages individually by clicking on the page directly.
{% endhint %}

![](/files/2OiMZF4FdYfKyUD9RXuA)

{% hint style="info" %}
**Still Need help?** Open a [*support ticket.*](https://www.gravitybot.net/get-in-touch)
{% endhint %}


---

# 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.gravitybot.net/building-your-gravity-bot/how-to-build.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.
