Before you start integrating your app, determine the method required for integrating an app with an online store by verifying whether its published theme supports app blocks. > Tip: > If a theme doesn't currently support app blocks, and you maintain the theme or a store where the theme is used, then you can also consider [migrating the theme to support app blocks](/docs/storefronts/themes/os20#migrating-to-online-store-2-0). ## Verification criteria To verify whether a theme supports app blocks, you need to determine the following: * Whether the template where your app is injected supports [JSON](/docs/storefronts/themes/architecture/templates/json-templates). * The main section in the template. * Whether the section where your app is injected has a block of type [`@app`](/docs/storefronts/themes/architecture/blocks/app-blocks) in its schema. For an example, refer to Shopify's sample [product reviews app](https://github.com/Shopify/product-reviews-sample-app). To see a theme that uses JSON templates and supports app blocks in several sections, refer to Shopify's reference theme, [Dawn](/docs/storefronts/themes/tools/dawn). ## Requirements You've requested the `read_themes` [GraphQL Admin API access scope](/docs/api/usage/access-scopes#authenticated-access-scopes). ## Verify support for app blocks You can use the following code to verify that a theme supports app blocks. The code uses [Shopify's Node library](/docs/api#api-libraries), which provides support for JavaScript apps to access the [GraphQL Admin API](/docs/api/admin-graphql).
App block support | Integration method |
---|---|
Yes | Skip requests made to the ScriptTag object.
|
No | Make requests to the |
App block support | Onboarding |
---|---|
Yes | Provide merchants with instructions about using the app block. For example, document instructions for adding the app block to the theme. |
No | Provide merchants with instructions about any configurations required to integrate the app. For example, document instructions for copying and pasting a code snippet to a page. |