> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help-b2b.bsscommerce.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# B2B Lock | Getting started with BSS B2B Lock (new version)


### Step 1: Navigate to Locks located at the navigation bar

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_lil0ky.png)

### Step 2: Click Add lock

![](https://storage.crisp.chat/users/helpdesk/website/c4a62a42ab467800/image_bhvvq5.png)
### Step 3: Name your lock, then select the target that you want to restrict access from your storefront.

In this example, we will lock down the entire website. Then click **Next**
![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_r2wtaw.png)

### Step 4: Set up rules to open locked content.

For example, you want to allow everyone who logged-in to your site to view the site, so I choose " **if customer is signed  in**"

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_16yjxtv.png)

Then scroll down, you can setup the message you want to be displayed to restricted customers at **Message on Login Page**

![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_1whswm8.png)

|| Message on Login Page will be shown if the customers are not signed in and are not satisfied (others) conditions.

After that, press **Next.**

### Step 5: Set up advanced settings (optional)

**Depending on your rule, choose one of these optional settings. If not, press **Save** to install the rule to your theme. 
**
![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_y5n7bx.png)

# Wait a second, BSS B2B Lock is being installed into your theme

* After you save the rule, B2B Lock will usually take about 5-10 seconds to automatically update your theme. A toast will appear when the process is done.  
* After that, you can click the "Check your store" button to see the results on your storefront. If it doesn't work as expected, please choose "Contact us" — we're happy and always ready to help.
  ![](https://storage.crisp.chat/users/helpdesk/website/-/c/4/a/6/c4a62a42ab467800/image_1spz7o9.png)
# Check the result

![](https://storage.crisp.chat/users/helpdesk/website/c4a62a42ab467800/image-7_1k65cod.png)

**Congratulation**! You have successfully restrict the entire website from guests. Now you can modify the configuration as you wish.

|| If  you need help, feel free to reach out to us via Live Chat or at support-sbc@bsscommerce.com