> For the complete documentation index, see [llms.txt](https://docs.formx.stream/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.formx.stream/guides/integrating-a-form-to-your-website.md).

# Integrating a form to your website

Since this is a crucial step, we made a short video for you: [How to integrate formX to your website?](https://www.youtube.com/watch?v=98OWYJi8q8c)

### Step-by-step guide to integrate forms to your website

* Login to [formX console](https://app.formx.stream/app/login)&#x20;
* Navigate to the form you want to integrate or create a new form

![Integrate a form to your website](https://lh6.googleusercontent.com/lxnuIoXmpiU1SSk14CAFHa7wkIsmbfFc3fnUELppSkRtrYspdONFFu2tnkardQsQl3b9RotITnGTNChoo3Qn856u3D737qbl_uw62gKbGrY1SyCD76Bb691B5_qfrJanFYTOh7qE)

* Click on the Setup icon on the top right. There, you will get installation details. Follow the instructions.

### Points to note

* Make sure you **paste the script at the bottom of your code**, before you close the body tag.
* Ensure your **form id is the same** in the script and in the tag.
* Make sure you **don't add ACTION and METHOD attributes** in the tag.


---

# 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:

```
GET https://docs.formx.stream/guides/integrating-a-form-to-your-website.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.
