Main issue: Creating a valid deep link to auto-enable a Shopify app embed (header/“head” target) during install.
Original attempt: Used addAppBlockId with target=sectionGroup:header. Theme editor returned: “blockname not added. There is a problem with the app block.” The embed’s schema targets “head” and works when added manually.
Suggested approach: Link to the theme editor with context=apps and appEmbed=%2Fchatbot to focus the app embed panel.
New development: A second developer’s link (…?context=apps&appEmbed=) opens the app embeds list but does not pre-check (activate) their app (SmartBot). They ask how the trailing “/chatbot” was determined and how to make the embed auto-activated. They share their file structure (e.g., blocks/chat.liquid) and a screenshot showing the sidebar list.
Key points:
The provided deep-link format targets the embeds UI but there’s no confirmed way here to force activation via URL.
It’s unclear from the thread how to derive the slug (e.g., “chatbot”) for appEmbed.
Status: Unresolved. Guidance needed on constructing a deep link that both targets and auto-enables a specific app embed.
Summarized with AI on December 27.
AI used: gpt-5.
I am trying to use a deep link to an app extension / app embed so the user can just turn it on easily as part of the install flow but I can’t get it to work. This is the deep link I’ve created:
I’m trying to create a deep link for my app embed so that users can easily activate it as part of the install flow. I saw your solution and have a similar issue. Here is the deep link I’m using:
This link opens up all available embed apps in the left sidebar, but I want my app (2nd one, SmartBot) to be pre-checked (activated already). I saw a competitor achieve this, but I can’t figure out how.