# Form with PageFly

### 📝 Step1 : Get embed code of a form

1\. Open the app > click **Forms** > open  a form you want

2\. Click **Publish** button on the right corner

<figure><img src="/files/jdTRvmlvY2XNTdhmCiPX" alt=""><figcaption></figcaption></figure>

3\. Click **Copy short code**&#x20;

<figure><img src="/files/1ovVnLvWIzuii6pCuTxC" alt=""><figcaption></figcaption></figure>

***

### 📝 Step 2 : Add form to page template in PageFly

1\. Open the app > Select a page that you want to insert this form into

2\. Click **Add new element** button > Select **HTML/Liquid** option > Drag and drop to place the element to the position you want

<figure><img src="/files/zbcXBtOjHe4LqNka7Qw1" alt=""><figcaption></figcaption></figure>

3\. On the right side, click **Open Code Editor** button

<figure><img src="/files/j7eaq7OfzXIASNBZVu13" alt=""><figcaption></figcaption></figure>

4\. Insert the form shortcode to this **HTML/Liquid Code Editor** box

<figure><img src="/files/eajn6GxXSaRlPpTFdizh" alt=""><figcaption></figcaption></figure>

5\. Click **Save** to update the changes.

**Note**: the HMTL content will not show up right now. It only shows the result on the front store.

Preview the page to check the result on the front store

***

#### Need More Help?

If you still need assistance, please contact us at [**support@powerfulform.com**](mailto:support@powerfulform.com). Our team will be happy to help you resolve any issues or guide you further.


---

# 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.powerfulform.com/app-integration/form-with-pagefly.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.
