# Form Embed

The form embed embeds a new ticket form directly into any page on your website. The embedded form has all of the power of the normal Deskpro form including dynamic custom fields, validation, etc.

To embed a ticket form on your site:

1. Log in to your *Admin Interface*.
2. Navigate to *User Interface -> Ticket Form Widget*.
3. Customize the widget as you see fit. Click *Get Code*.
4. Copy the code to your clipboard.
5. Paste this code into your webpage. Paste the code in the actual position on the page that you want the form to appear.


---

# 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://deskpro.gitbook.io/dev-guide/embeddables/form-embed.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.
