# Form with Shogun

### 🧾 **Get the form shortcode**

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

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

<figure><img src="https://da76v9kevdkud.cloudfront.net/wp-content/uploads/2024/05/2024-05-15_08-21-39-1024x698.png" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://da76v9kevdkud.cloudfront.net/wp-content/uploads/2024/05/2024-05-21_15-49-11-1024x693.png" alt=""><figcaption></figcaption></figure>

***

### 🧩 In Shogun app

1\. In Shogun page builder app, go to page you would like to add form

2\. On right navigation bar > click **Build** tab, click **HTML** session and drag to the position you want on the page

<figure><img src="https://globosoftware.net/wp-content/uploads/2022/01/Screenshot_125-1024x519.png" alt=""><figcaption></figcaption></figure>

3\. In **HTML** session on the page, paste the shortcode of the form

<figure><img src="https://globosoftware.net/wp-content/uploads/2022/01/Screenshot_126-1024x537.png" alt=""><figcaption></figcaption></figure>

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

Preview the page to confirm the form displays correctly

Publish the page in Shogun so it appears on your storefront


---

# 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/~/revisions/KRfi0fHdeAFeAhiPrH7G/app-integration/form-with-shogun.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.
