Back to insights
Salesforce B2B CommerceSalesforce B2B CommerceExperience Cloud

Salesforce B2B Commerce Cloud Store Set Up

A complete guide to configuring and launching a Salesforce B2B Commerce Cloud storefront from scratch.

Nambi Selvi12 min read

Salesforce Developer

Salesforce B2B Commerce Cloud Store Set Up cover infographic

Abstract

Salesforce B2B Commerce enables organizations to provide a digital storefront for business customers, allowing them to browse products, manage carts, place orders, and track purchases online.

The objective of this setup is to configure the Salesforce environment and enable all required B2B Commerce features, including Experience Cloud, Commerce Settings, Order Management prerequisites, Buyer Management, Permission Sets, and Storefront configurations.

This document provides a step-by-step guide to configure a Salesforce org for B2B Commerce implementation.

Solution

To successfully configure Salesforce B2B Commerce, several platform features must be enabled and configured in the correct sequence.

The overall solution includes:

  • Enabling Experience Cloud
  • Activating Commerce Features
  • Configuring Order Settings
  • Assigning User Roles
  • Setting Organization-Wide Defaults
  • Optimizing Page Layouts
  • Running Commerce Setup Assistant
  • Configuring Buyer Information Components
  • Assigning Buyer Permissions
  • Installing Commerce Reports and Dashboards

These configurations collectively establish the foundation required for creating storefronts, managing buyers, maintaining product catalogs, and processing orders.

Step-by-Step Solution for Store Configuration

Step 1: Sign Up for a Developer Edition

Follow this link: https://developer.salesforce.com/signup

Step 2: Enable Experience Cloud

  1. Go to Setup (Click Home Tab) → Digital Experiences → Settings.
  2. Salesforce B2B Commerce Cloud Store Set Up implementation screenshot
  3. Check (enable) the Enable Digital Experiences checkbox.
  4. Salesforce B2B Commerce Cloud Store Set Up implementation screenshot
  5. From Setup → Digital Experiences → Settings, choose to allow using standard external profiles for self-registration, user creation, and login, then click Save.
  6. Salesforce B2B Commerce Cloud Store Set Up Step 3

Step 3: Enable Commerce Features

  1. Go to Setup → Quick Find: Commerce → Settings. Click the Enable Commerce Toggle and click Save.
  2. Salesforce B2B Commerce Cloud Store Set Up Step 4
  3. After enabling Commerce, you will see another section titled "Enable the Refreshed Commerce App" — click Save.
Salesforce B2B Commerce Cloud Store Set Up Step 5

Step 4: Enable Order Preferences

  1. From Setup, reach Order Settings and choose Enable Enhanced Ecommerce Orders. Choose the other 2 options as indicated. Click Save.
Salesforce B2B Commerce Cloud Store Set Up Step 6

Step 5: Enable & Activate CMS

  1. In Settings, go to Profile → System Administrator. Edit the System Administrator profile and choose Salesforce CMS at the Custom App Settings section.
  2. Salesforce B2B Commerce Cloud Store Set Up Step 7
  3. Go to the Tab Settings section and make the following tabs Default On for these 2 CMS items:
    • CMS Channels
    • CMS Workspaces
  4. Make the following tabs Default On as well (Tab settings):
    • Commerce Setup
    • Buyer Group Price Book
    • Buyer Groups
    • Catalogues
    • Categories
    • Entitlement Policies
    • Guest Buyer Profile
    • Price Adjustment Schedules
    • Pricing Workspace
    • Store Price Book
    • Store
    • Order Summaries
    Salesforce B2B Commerce Cloud Store Set Up Step 8

Step 6: Optimize Page Layouts

Update Product Page Layout

Salesforce B2B Commerce Cloud Store Set Up Step 9
  1. Navigate to Setup → Object Manager → Product → Page Layouts → Product Layout.
  2. If Commerce Product Layout is available, select it as it is the default layout for System Administrators.
  3. From the Fields section, drag Product SKU into the Product Detail section.
  4. Select Related Lists from the layout editor menu.
  5. Drag the following related lists into the Related Lists section:
    • Categories
    • Commerce Entitlement Policies
  6. Click Save.

Update Order Summary Page Layout (Optional)

Salesforce B2B Commerce Cloud Store Set Up Step 10
  1. Navigate to Setup → Object Manager → Order Summary → Page Layouts → Order Summary Layout.
  2. Scroll to the Salesforce Mobile and Lightning Experience Actions section.
  3. Click Override the Predefined Actions.
  4. Remove all actions except Start Reorder.
  5. Click Save.

Update Order Delivery Group Summary Layout

Salesforce B2B Commerce Cloud Store Set Up Step 11
  1. Navigate to Setup → Object Manager → Order Delivery Group Summary → Page Layouts → Order Delivery Group Summary Layout.
  2. In the Order Product Summaries related list, click the Wrench icon.
  3. Add the following fields to the displayed columns:
    • Product Code
    • Product Name
    • Product SKU
  4. Click OK, then Save.

Update Account Layout

Salesforce B2B Commerce Cloud Store Set Up Step 12
  1. Navigate to Setup → Object Manager → Account → Page Layouts → Account Layout.
  2. If available, select Commerce Account Layout.
  3. Scroll to Salesforce Mobile and Lightning Experience Actions.
  4. Click Override the Predefined Actions.
  5. Ensure the following actions are included:
    • Enable as Buyer
    • Disable as Buyer
  6. Select Related Lists from the layout editor menu.
  7. Add the following related lists if not already present:
    • Carts
    • Contact Point Addresses
    • Contacts
    • External Managed Accounts
  8. Click Save. When prompted, click Yes to overwrite related list customizations.

Update Contact Layout

Salesforce B2B Commerce Cloud Store Set Up Step 13
  1. Navigate to Setup → Object Manager → Contact → Page Layouts → Contact Layout.
  2. Scroll to the Salesforce Mobile and Lightning Experience Actions section.
  3. Click Override the Predefined Actions.
  4. Add the following actions:
    • Enable Customer User
    • Disable Customer User
    • Log in to Experience as User
  5. Save the layout.

App Builder Settings — Account Record Detail Page

Choose any Account record and edit the page; in the detail page, drag and drop the Buyer Account component onto the page layout.

Salesforce B2B Commerce Cloud Store Set Up Step 14

Step 7: Permission Sets for Buyers

Create Permission Set

  1. Create a permission set named Commerce User and assign the Customer Community Plus license.
  2. Salesforce B2B Commerce Cloud Store Set Up Step 15
  3. Assign Read access to the following objects (Commerce User → Permission Set Overview → Object Settings → Account):
    • Account
    • Buyer Accounts
    • Catalogs
    • Categories
    • Electronic Media Groups
    • Locations
    • Order Delivery Methods
    • Order Summaries
    • Price Books
    • Products
    • Product Category Products
    • Stores
    • Store Catalogs
  4. Salesforce B2B Commerce Cloud Store Set Up Step 16
  5. Assign Create, Read, Update or Edit, Delete access to the following objects:
    • Carts
    • Contact Point Addresses
    • Orders
    • Wish Lists
  6. Salesforce B2B Commerce Cloud Store Set Up Step 17
  7. For the Contact Point Address object, assign Read permission to all fields.
  8. Salesforce B2B Commerce Cloud Store Set Up Step 18
  9. Assign System Permissions — Commerce User.
Salesforce B2B Commerce Cloud Store Set Up Step 19

Step 8: Install Commerce Reports

Install commerce reports to track Commerce orders. Set the field-level security for Orders, Sales Store.

  1. From the Object Manager, enter Order in the Quick Find Box.
  2. Select Order > Fields & Relationships > Sales Store.
  3. Click Set Field-Level Security.
  4. Make sure that Visible is selected for Customer Community Plus User and System Administrator.
Salesforce B2B Commerce Cloud Store Set Up Step 20

Step 9: Configure Commerce Setup Assistant

  1. Navigate to Setup → Commerce Setup Assistant.
  2. Under Prepare Your Org for Salesforce Commerce, click Get Started.
  3. Review the list of configurations that will be automatically applied.
  4. Select the checkbox: "I've reviewed the features that will be installed and configured".
  5. Click Next.
  6. Review the setup summary page.
  7. Click Complete Setup.
  8. Salesforce B2B Commerce Cloud Store Set Up Step 21
  9. After the setup finishes, open the Additional Setup tab.
  10. When prompted, click View Additional Steps.
  11. Locate the Dashboards and Reports section.
  12. Click Install Dashboards.
  13. Follow the installation wizard and complete all prompts.
  14. Wait until dashboard installation is completed successfully.
Salesforce B2B Commerce Cloud Store Set Up Step 22

B2B Store Creation

Create Store

  1. Click on Commerce Store and click Next.
  2. Salesforce B2B Commerce Cloud Store Set Up Step 23
  3. Enter Default Ship to country, Default language, Default currency for the store.
  4. Salesforce B2B Commerce Cloud Store Set Up Step 24
  5. Enter Store name and URL Name and click Start selling.
  6. The store is now created.
Salesforce B2B Commerce Cloud Store Set Up Step 25

Configure Experience Site Access

Before configuring the storefront, ensure that the required profiles and permission sets are assigned to the Experience Cloud site.

Assign Profiles and Permission Sets

  1. Navigate to Experience Builder → Administration → Members.
  2. Under Profiles, add the following:
    • System Administrator
    • Customer Community Plus User
  3. Under Permission Sets, add: Commerce User.
  4. Save the configuration.
Salesforce B2B Commerce Cloud Store Set Up Step 26

Configure Content Security Policy

  1. Navigate to Experience Builder → Settings → Security & Privacy.
  2. Locate the Content Security Policy (CSP) section.
  3. Enable: Relaxed CSP — Permit Access to Inline Scripts and Allowed Hosts.
  4. Save the change.

Create a CMS Workspace

CMS Workspace is used to manage images, banners, and other digital assets displayed in the storefront.

Create Workspace

  1. Navigate to Store → Content Management.
  2. Click Add Workspace.
  3. Enter a workspace name.
  4. Select Enhanced CMS Workspace.
  5. Click Next.
Salesforce B2B Commerce Cloud Store Set Up Step 27

Create Channel

  1. Click Create Channel.
  2. Select Public Channel.
  3. Enter a channel name.
  4. Click Next, then Done.
Salesforce B2B Commerce Cloud Store Set Up Step 28

Add Contributors

  1. Select the newly created channel.
  2. Click Next.
  3. Add the following users:
    • Integration User
    • Security User
  4. Click Next.
Salesforce B2B Commerce Cloud Store Set Up Step 29

Assign Contributor Roles

  1. Assign the Content Manager role for both users.
  2. Click Next.

Configure Language

  1. Select English (United States) as the default language.
  2. Click Next.
  3. Review the configuration.
  4. Click Done.

Create Content

Salesforce B2B Commerce Cloud Store Set Up Step 30
  1. Click Create Content.
  2. Select Image.
  3. Upload the image.
  4. Save the content.
  5. Publish the content.

Create Products

Products represent items available for purchase within the storefront.

  1. Navigate to Product Workspace.
  2. Click New Product.
  3. Enter product details.
  4. Add product media using the CMS Workspace.
  5. Click Save.
Salesforce B2B Commerce Cloud Store Set Up Step 31

Create Price Books

Price Books store product pricing information.

Create Price Book

  1. Navigate to Pricing Workspace.
  2. Click New.
  3. Enter Price Book Name and Description.
  4. Save the record.

Create Price Book Entries

  1. Open the created Price Book.
  2. Add products.
  3. Specify pricing information.
  4. Save the entries.
Salesforce B2B Commerce Cloud Store Set Up Step 32

Configure Catalogs and Categories

Catalogs organize products for storefront display.

Create Catalog

  1. Open the Commerce App.
  2. Navigate to Catalogs.
  3. Create a new catalog if required.

Create Category

  1. Open the Catalog.
  2. Click New Category.
  3. Enter category details.
  4. Save the record.

Assign Products to Categories

  1. Open the Category.
  2. Navigate to the Products related list.
  3. Click Assign Products.
  4. Select the required products.
  5. Complete the assignment wizard.
  6. Save.
Salesforce B2B Commerce Cloud Store Set Up Step 33

Configure Buyer Groups

Buyer Groups determine which products and pricing are available to specific customers.

Create Buyer Group

    Salesforce B2B Commerce Cloud Store Set Up Step 34
  1. Navigate to Buyer Groups.
  2. Click New.
  3. Enter Buyer Group details.
  4. Save the record.

Configure Related Records

Add the following related records:

  • Price Books
  • Entitlement Policies
  • Stores
  • Buyer Members

Configure Entitlement Policies

Entitlement Policies control product visibility and purchasing permissions.

Create Entitlement Policy

Salesforce B2B Commerce Cloud Store Set Up Step 35
  1. Navigate to Entitlement Policies.
  2. Click New.
  3. Enter policy details.
  4. Save.

Assign Related Records

Add:

  • Products
  • Buyer Groups

Save the changes.

Configure Buyer Account and Contact Access

Create Buyer Account

  1. Create a new Account.
  2. Enter Account Name: Test Account.
  3. Save the Account.
  4. Click Enable as Buyer.
Salesforce B2B Commerce Cloud Store Set Up Step 36

Create Contact

Salesforce B2B Commerce Cloud Store Set Up Step 37
  1. Open Test Account.
  2. Create a new Contact.
  3. Save the Contact.

Enable Customer User

Salesforce B2B Commerce Cloud Store Set Up Step 38
  1. Open the Contact record.
  2. Click Enable Customer User.
  3. Salesforce automatically opens User creation.
  4. Select Profile as Customer Community Plus User.
  5. Save the User record.

Assign Permission Sets

Assign Buyer and Commerce User permission sets to the user.

Salesforce B2B Commerce Cloud Store Set Up Step 39

Verify Login

  1. Open the Contact record.
  2. Click Log in to Experience as User.
  3. Verify storefront access.
Salesforce B2B Commerce Cloud Store Set Up Step 40

Register Reference Implementation Classes

Reference classes are required to support sample checkout integrations.

Required Apex Classes

Deploy the following classes from the b2b-commerce-on-lightning-quickstart repository:

  • B2BDeliverySample
  • B2BCheckInventorySample
  • B2BTaxSample
  • B2BPricingSample

Configure Remote Site Setting

Create a Remote Site Setting for: https://b2b-commerce-test.herokuapp.com

Register Services

  1. Verify your API Version.
  2. Open Developer Console.
  3. Execute the registration script provided in Salesforce documentation.
  4. Confirm successful registration.

Configure B2B Checkout

Enable State and Country Picklists

Salesforce B2B Commerce Cloud Store Set Up Step 41
  1. Navigate to Setup → State and Country/Territory Picklists.
  2. Select Configure States, Countries, and Territories.
  3. Set Default Country: India.
  4. Enable: Active, Visible.
  5. Save.

Configure States

  1. Open India.
  2. Enable all required states.
  3. Save.

Convert Existing Data

Salesforce B2B Commerce Cloud Store Set Up Step 42
  1. Run Scan for State and Country/Territory Data.
  2. Convert identified values.
  3. Map existing Country values to India.
  4. Map State values to Tamil Nadu or the appropriate state.
  5. Complete the conversion wizard.
  6. Enable State and Country/Territory Picklists.

Resolve Common Checkout Errors

ErrorResolution
"We can't proceed with checkout because there's no saved shipping address and you don't have the necessary buyer permissions to add one."Verify the following: Shipping Address exists on the Account; Billing Address exists on the Account; Buyer Permission Set is assigned; Store Inventory is not incorrectly linked; Default Country and State values are configured in Store Localization settings.

Configure B2C Guest User Access

Enable Guest Access

Salesforce B2B Commerce Cloud Store Set Up Step 43
  1. Open Experience Builder.
  2. Navigate to Settings → General.
  3. Enable: Guest users can see and interact with the site without logging in.
  4. Save.

Advantages

  • Provides a centralized platform for managing B2B commerce operations.
  • Supports personalized product visibility through Buyer Groups and Entitlement Policies.
  • Enables seamless product, pricing, and catalog management.
  • Integrates with Salesforce CRM data for a unified customer experience.
  • Supports both authenticated buyers and guest users.
  • Scalable architecture suitable for small and large commerce implementations.
  • CMS integration allows easy management of storefront content and media.

Limitations

  • Initial configuration involves multiple setup steps and dependencies.
  • Proper permission and access management are critical to avoid checkout and visibility issues.
  • Advanced checkout customization may require Apex development and service integrations.
  • Large implementations may require additional planning for performance and governance.

Conclusion

The storefront is now configured with products, catalogs, pricing, buyer access, checkout services, CMS content, and guest user capabilities, enabling a complete B2B Commerce purchasing experience. The Salesforce B2B Commerce implementation provides a complete digital commerce solution that enables organizations to efficiently manage products, catalogs, pricing, buyer access, and online purchasing experiences. By configuring Experience Cloud, CMS Workspaces, Products, Price Books, Catalogs, Categories, Buyer Groups, Entitlement Policies, and Checkout Services, businesses can create a scalable and secure storefront for their customers.

The setup also ensures that buyers have appropriate access through permission sets and buyer groups, while administrators can control product visibility and pricing using entitlement policies and catalogs. Additional configurations such as CMS content management, guest user access, and checkout service integration further enhance the overall shopping experience.

Topics:Salesforce B2B CommerceExperience CloudStore Setup

Ready to accelerate your digital transformation?

Partner with Subsel to build modern CRM, AI-enabled automation, and enterprise systems that scale.