> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/b2b-lock-password-protect/quick-start/installation.md).

# Installation

Install Sami B2B Lock, Password Protect from the Shopify App Store and open it for the first time.

Sami B2B Lock, Password Protect installs like any other Shopify app, directly from the Shopify App Store.

1. Open the app's listing page: [Sami B2B Lock, Password Protect](https://apps.shopify.com/b2b-wholesale-lock-hide-price).
2. Click **Add app** (or **Install app**) and sign in to your Shopify admin if prompted.
3. Review the permissions the app requests — these let it read the products, collections, pages, and customers you'll use to build locks, and let it update your theme to deliver the lock screen on your storefront. Click **Install app** to approve them.
4. Shopify redirects you back into the app, which opens on the **Locks** page inside your Shopify admin.

{% hint style="info" %}
For a plain-language summary of exactly what each permission is used for, see [Permissions and data](/b2b-lock-password-protect/reference/permissions-and-data.md).
{% endhint %}

The app isn't protecting your storefront yet at this point — one more setup step is required before any lock can take effect.

## Next steps

Continue to [Enable the app embed](/b2b-lock-password-protect/quick-start/enable-app-embed.md) to turn on storefront protection.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.samita.io/b2b-lock-password-protect/quick-start/installation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
