> For the complete documentation index, see [llms.txt](https://help.pagefly.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.pagefly.io/page-structure-and-elements/shopify-elements/custom-content/how-to-use-shopify-app-block-element-with-pagefly-section.md). Agents can also search and read this documentation through its [MCP server](https://help.pagefly.io/~gitbook/mcp).

# App blocks

### About Shopify App Block Element

The App blocks element lets you add app blocks from the apps you use directly to your PageFly pages and saved sections. Use it for an app that PageFly has no element for: a form from **Forms by Shopify** (Shopify Forms), a review widget, a loyalty widget, and any other app that offers an app block for Online Store 2.0 themes. The app's content shows inside your PageFly page, without custom code.

{% hint style="warning" %}
**Important Note**:

* The App block element can only be used with Shopify theme OS 2.0.
* This element can only be used once on a page.
* It works on PageFly pages and on PageFly saved sections.
  {% endhint %}

### How To Access The App Block Element

* Step 1: Open the page or saved section in the PageFly editor.
* Step 2: Click the 3rd icon in the left sidebar, "**Third-party elements**".
* Step 3: Find the "**App blocks**" element at the top of the list.
* Step 4: Drag and drop the element onto your page or section where the app should appear.

App Block element comes with 1 variation which is "**App blocks**".

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-f7fdd6278d1d5f4c978c213aa3add7e7e38a14a3%2FAD_4nXcu3sDAHn7zc6bI5Z4wjRtDJ9KFJJ8Ytcmzjm3zHjWWt7cEgrIPztxH2oJDVhegSr56OZxOo5g_MgvNH3kos5zsaxICUNsGBG_8ctIjNpGUCSlWwAWzbNxlzPXXC4Xs8YBuggY-yffbPcs3jS2zkeyPK2vM_BLb_MWGDktDDEA0A.png?alt=media)

### How To Configure The App Block Element

The main settings for the App Block element are configured within the app you want to use, but PageFly still provides some additional options.

In the **General** tab, you can adjust the Visibility, Attributes, and Animation of the element. For more details on these settings, refer to the [General article](https://help.pagefly.io/page-structure-and-elements/editor/user-interface/elements-general-settings.md).

<figure><img src="https://lh7-rt.googleusercontent.com/docsz/AD_4nXdEC7fgwWNXKvwTxN3S6hcDaiuGEnw8AWshrJyJP1qxsQZ8hs7aixXF8fmhEy-6HDGhSe1DSCm3HRG6aB5J-Ntms-h911xPlmjHiidv-AeRbrE-mN00SC2L1XLeo10H8xBFuvb7Xh6ZfqCrd0LlahMMiFHQ?key=PK2vM_BLb_MWGDktDDEA0A" alt=""><figcaption></figcaption></figure>

### How To Select An App To Show On The App Block Element

The app itself is chosen in the Shopify theme editor, not in PageFly:

1. Save all changes and then publish the PageFly page.
2. Access the **Theme Editor** for the page.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-abd098ac4740d8aeb3ab87533b7dbeb1db237eea%2FAD_4nXeQt-GtTp3s7IGh6_WFada6X7dfTiBBjud9NosmDRvGKAiBL0Y3-VzbC5qLhkzGW8PW9q1SF_8Gj7CvwwSf1-DaJmg5KwOarwvsKw149yJkX0Jp_tBL4S3GxlRc_1ufemkrExLS_uxGaklZ6k3ajQkeyPK2vM_BLb_MWGDktDDEA0A.png?alt=media)

For a saved section, first add the section to a template in the **Theme Editor**. Then follow these steps to complete the setup for the App Block Element:

#### Step 1: Click On The "Add Block" Button

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-e20b707863b212d7fd4cbc407946afed63b62881%2FAD_4nXf69oql4EVNrZdbANI-NXRLOeMh0Tjf1XYHAKjknFxBpQwtI7XMjCK5_Ta-qD9U_A9rotpOgre-ftXUnpkoePQ9-Q994wajzpL6jHKl8z1RrOa-fRu-dxVBk3k2tdMgUS1QpaM8K-_H6NDCQYoU0AkeyPK2vM_BLb_MWGDktDDEA0A.png?alt=media)

#### Step 2: Search For The App You Want To Add

In the Apps tab, you can easily search for the app or element you want to add using the search bar, or scroll down to find it.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-a6505ede6b0f7f21424b3045082ae8dc1f27dbca%2FAD_4nXead528101guSwNENhFPhw_80UjmoBDxkWxyIa-vi64aoWYLAeYlR0UPq1QHkIf5yos662C0g2oQwmtUGwasc4mdm7sSetKkYQsn55pXL5r-d1WLfUbx5jpG3Sz_hpc3LlQfe2zmZfGC7qsetlQ-QkeyPK2vM_BLb_MWGDktDDEA0A.gif?alt=media)

#### Step 3: Select The App You Want To Add

In this example, we'll add the Star Rating from Stamped Product Review & UGC app. Please note that only apps supported by "**App blocks**" element are displayed in the "**Apps**" list

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-cdcb01d10e36084336ea22381060615e229e346b%2FAD_4nXfxaAgi-U31M3lkKUr7GXFr4ww057ZEr7oAlTKQMmXwJAweEaL-srJ0ttNP8-lb7JdDYXqLt7zhgUIarXgiYgbRmycrNkNhTh-WLKy3TcHU6sA5EskKXfFDcty58H15Tk1lB61CJwBsmq5tZ82ouwkeyPK2vM_BLb_MWGDktDDEA0A.png?alt=media)

#### Step 4: Click Save

Here's how the element will appear after it's been added:

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-cb8ed9378c53721dc59c77cb5ffa2fdc33d74887%2FAD_4nXfsn_Jk9-YtjOGu7Ew90McavPjvnGA93D0vO1k7G4vzZz1Os8uZ27uUTvQL580-RpQAmxl7N7mOwZY7c8gO5O7VSOYQx3YoCf0RJSjn307qFPyZpywqhqTnJHMC7Q2q_BUhI3mKnZOz6KRU-VJjyAkeyPK2vM_BLb_MWGDktDDEA0A.png?alt=media)

### Use Cases

Use the App block element to show content from an app that PageFly has not integrated with, for example:

* A sign-up, contact or registration form from **Forms by Shopify**.
* A review, loyalty or wishlist widget whose app offers an app block.

If PageFly already has an element for the app, use that element instead: see [What apps does PageFly integrate with?](https://help.pagefly.io/integrations/third-party-elements/what-apps-does-pagefly-integrate-with.md).

### Version Updates

#### 4.12.0

The App Block element can be used on both the PageFly Saved section and PageFly pages. (Updates released on May 28th, 2024)

#### Before Version 4.12.0

The App Block element only can be used on the PageFly Saved section.

### Frequently Asked Questions

**1. Can I add multiple App Block Elements on the same page?**

No, the App Block Element can only be used once per page. If you need to add multiple app blocks, you'll need to create separate saved sections for each one or use them on another page.

**2. Can I customize the appearance of the App Block Element?**

The main settings for the App Block Element are configured within the app itself.

**3. Can I add multiple apps in the App block element in the theme editor?**

Yes, you can add multiple apps within the App block element in the theme editor. However, please note that the position of these apps cannot be changed outside of the App block position, but you can reorder them within the App block.

![](https://2800568630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeLf471SpmnojuhVGQb2E%2Fuploads%2Fgit-blob-bb7b693bb433d1c604946cd813976d63b47ead82%2FAD_4nXduh_eY6qgqygg5Lc3v-jMR69SUZHHJEdoIHmrA-zk3q9doFcldcNbTpZwAZexuZIUTC-ilwZNEDKPn0O80KBsGZZXKEYPSf2WkVXjhl4FCIGsiPFGNuJzOQZvyoRG7Fb207bjE_3U1g1mwXg7h0wkeyPK2vM_BLb_MWGDktDDEA0A.gif?alt=media)

**4. I only need a simple sign-up or contact form. Do I need an app?**

No. PageFly's own [Form elements](https://help.pagefly.io/page-structure-and-elements/shopify-elements/form.md) (Customer form and Contact form) send the entries to Shopify with no extra app, and they work on any theme.


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.pagefly.io/page-structure-and-elements/shopify-elements/custom-content/how-to-use-shopify-app-block-element-with-pagefly-section.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
