How to merge checkout ui extension with shopify app

Topic summary

Goal: combine a Checkout UI extension with a Shopify app so the extension is included and runs when the app is installed.

Suggested approach: no manual “merge” needed. Use the Shopify CLI to create the extension and place it inside the app’s root-level “extensions” folder. Deploy the entire app (including the extension) with the command “npm run shopify app deploy” (which runs the Shopify deploy process).

Implementation details: ensure the project has an “extensions” directory at the root. Generate or move the Checkout UI extension into that folder. Deploy using the CLI so the app and extension are bundled and deployed together.

Latest update/outcome: the setup with an extensions folder at the root and running “shopify app deploy” works correctly without additional merging steps.

Status: effectively resolved for deployment. Whether the extension auto-activates upon app install is not explicitly addressed.

Summarized with AI on December 16. AI used: gpt-5.

Hi, I want to merge my checkout extension code to the Shopify app can you please help me to suggest a way how we can achieve this?

Purpose: my purpose is whenever an app is installed automatically, an extension also runs provide a proper solution or share your thought as well

thank you

Hi @storetransform ,

I may be wrong…..but

In your folder structure do you have an

“extensions” folder? Because you can simply create the extension with CLI and drop the files in there. Then deploy the app using npm run shopify app deploy

Or is there something I’m missing?

Extension folder are on root directory and we shopify app deploy command run and working proper without merging anything.