Skip to main content

App Sections

App Sections are similar to embedded sections, but are distributed with your app. You specify the App Section at the app level, and anyone that installs your app will be able to add it to their shop.

Signature

The signature for app sections works exactly the same as embedded sections, but instead uses your app HMAC secret (also used to verify app webhooks). You can find the app HMAC secret in your App settings.

Message passing

Note that the messages are different from embedded sections.

{
"type": "RESIZE",
"data": {
"height": 100,
}
}
{
"type": "CLOSE",
}

Settings

We have an experimental feature that allows you to configure settings for your app section. Talk to @jierenchen on Discord to get access.

App sections settings App sections settings