DirectorySetup
Create Storefront Next in Business Manager with local code
Salesforce Developers
Open the source (opens in a new tab)
Why this is useful
This is the path for your own site when the code should live on your machine first. It is a different task from the demo-instance quick start.
Business Manager creates the storefront plus API and Managed Runtime resources, and you generate the code locally with the CLI. The guide limits setup to one storefront per site and says a failed setup has to be deleted and recreated. Download env.txt from the completion page; the client secrets are not offered again.
Before you start
A developer or on-demand sandbox instance, a site with catalog, price book, and inventory, the Managed Runtime User or Admin role, a Business Manager role that can edit storefronts, and the local CLI prerequisites from the demo quick start.
Access and version
The guide is public. Completing it requires a B2C Commerce instance and specific Account Manager roles. Client secrets in the downloaded env file are available once.
No charge to read the guide. The instance, sandbox, and Managed Runtime access are separate entitlements. This directory cannot provide them.
No product version is recorded, because this source did not state one.
Checked 8 Nov 2026, 12:45 UTC. developer.salesforce.com returned HTTP 403 to a direct client from this environment. A research reader retrieved the page on 8 Nov 2026.
Salesforce publishes this page. This directory stores an original short description and the link, not the document text.
- Publisher
- Salesforce Developers
- Category
- Tutorial
- Access
- Free to read
- Level
- Level unspecified
- Topics
- Setup, Business Manager, Deployment
- Checked
- 8 Nov 2026, 12:45 UTC