> For the complete documentation index, see [llms.txt](https://globosoftware.gitbook.io/globosoftware-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://globosoftware.gitbook.io/globosoftware-docs/integrations/page-builders/pagefly.md).

# Form with PageFly

Place a form inside a PageFly page using the form's short code.

## How to set it up

{% stepper %}
{% step %}

### 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="https://712145376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2AkSDlkSYnQXINUtOZOT%2Fuploads%2Fgit-blob-5fac9deac26b5a18299af04522e1423613950a9b%2Fscreenshot-integration-form-with-pagefly-1.png?alt=media" alt=""><figcaption></figcaption></figure>

3\. Click **Get short code**

<figure><img src="https://712145376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2AkSDlkSYnQXINUtOZOT%2Fuploads%2Fgit-blob-9574dcfcd4e1c9d9c532b76a7e15dad392549cd2%2Fscreenshot-integration-form-with-pagefly-2.png?alt=media" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 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="https://712145376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2AkSDlkSYnQXINUtOZOT%2Fuploads%2Fgit-blob-a87e8789573f36cc93c0b439cfaf6b54cc1a3e9a%2Fscreenshot-integration-form-with-pagefly-3.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://712145376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2AkSDlkSYnQXINUtOZOT%2Fuploads%2Fgit-blob-6d10eaa2dc3afa6928a86be8e2c1ba61aba78300%2Fscreenshot-integration-form-with-pagefly-4.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://712145376-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F2AkSDlkSYnQXINUtOZOT%2Fuploads%2Fgit-blob-aff0f52fa286a1785e057560baa242f0a776e732%2Fscreenshot-integration-form-with-pagefly-5.png?alt=media" alt=""><figcaption></figcaption></figure>

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

{% hint style="info" %}
the HTML content will not show up right now. It only shows the result on the front store.
{% endhint %}

Preview the page to check the result on the front store
{% endstep %}
{% endstepper %}

\ <br>

## Next steps

* [Get the short code of a form](/globosoftware-docs/display-and-placement/short-code.md) — where the code comes from.
* [Form with GemPages](/globosoftware-docs/integrations/page-builders/gempages.md) — the same idea in GemPages.
* [Contact support](/globosoftware-docs/help/contact-support.md) — if the connection still does not work.
