For the complete documentation index, see llms.txt. This page is also available as Markdown.

Enable the app embed

Turn on the theme app embed so Sami B2B Lock, Password Protect can actually enforce locks on your storefront.

Sami B2B Lock, Password Protect protects your storefront through a Shopify theme app extension embed. In your theme editor's App embeds list, you'll see it listed as Sami Lock. Turning this embed on is what lets the app run on every storefront page and actually enforce your locks.

Turn on the embed

  1. Open the app. On the dashboard, find the Setup guide card and its step 2, Integrate with theme — it spells out that "The app will not work on the online store until you enable it on your theme."

    Step 2 of the app's Setup guide, Integrate with theme, with its Intergrate theme button
    Step 2 of the dashboard's Setup guide takes you straight to the right place.
  2. Click Intergrate theme. This opens your theme editor in a new tab, already scrolled to the App embeds panel with the app's embed filtered in — you don't have to hunt for it.

  3. Find Sami Lock in the App embeds panel and switch its toggle on.

    Shopify theme editor App embeds panel with the Sami Lock embed and its toggle
    Turn on the Sami Lock embed in the theme editor's App embeds panel.
  4. Click Save in the theme editor to apply the change.

The embed has no settings of its own — the panel says "This app embed doesn't have customizable settings." Everything about how your locks look and behave is configured inside the app, not here. All you do in the theme editor is switch the embed on.

Enabling it on another theme

The button in step 2 targets the theme you're currently working with. If you run more than one theme — say a live theme plus a draft you're preparing — open the theme editor for each theme you want protected and turn the Sami Lock embed on there too.

Themes you create after installing the app are covered automatically — you don't need to repeat this setup for every new theme, only for themes that existed before you enabled the embed on them (or if you want to double-check a newly published theme).

Next steps

Last updated

Was this helpful?