Announcements
B2C Commerce Developer Tooling
B2C CLI Agent Skills
Agentic MCP Shopper Tools Quick Start (Pilot)
SFRA Quick Start
Composable Storefront Quick Start
B2C Commerce API Quick Start
B2C Commerce Release Notes
Ask the Community
The B2C developer tools for B2C Commerce streamline developer workflows through a CLI, Agent Skills, and IDE extensions. With these tools, you and your coding agent can build, deploy, and operate on B2C Commerce instances, Managed Runtime (MRT), and On-Demand Sandboxes (ODS).
Code versions, cartridges, jobs, sandboxes, Managed Runtime, SLAS, eCDN, logs, and more are all first-class operations you can run from a terminal, a CI pipeline, or a conversation with your coding agent—without clicking through a UI. The B2C Commerce Developer Tooling project is an open-source monorepo that packages that access into components you can mix and match.
Humans, agents, and pipelines all run the same B2C Commerce workflows. The platform doesn’t change—only the surface does.
Here are some common tasks you can run end-to-end using the B2C Commerce CLI, which help you to quickly provision credentials, configure your environment, and manage platform resources:
1b2c slas client create --name "MyApp" --channels RefArch --scopes sfcc.shopper-products,sfcc.shopper-product-search --redirect-uri http://localhost:3000/callbackb2c setupexport SFCC_REALM_ID=zzte SFCC_INSTANCE_ID=001 SFCC_SCAPI_SHORTCODE=kv7kzm78b2c mrt project create --name "my-storefront"
Or view options:
b2c mrt project create --helpThe B2C Commerce Developer Tooling can be used as a global command-line tool or integrated into your project as an SDK.
Before installation, ensure your environment meets the minimum requirements for Node.js and package management. For detailed installation instructions, command references, and getting started guides, visit the official B2C Developer Tooling Documentation Site.
Install the CLI globally to access B2C Commerce operations from any terminal:
1npm install -g @salesforce/b2c-cliIf you use pnpm, you can use pnpm add -g @salesforce/b2c-cli.
Note
If you’re building custom scripts or integrations, add the SDK to your project’s dependencies:
1pnpm add @salesforce/b2c-tooling-sdkRun the interactive setup to configure the CLI with your instance and Account Manager credentials:
1b2c setupOnce installed, verify the CLI is ready for use by checking the version:
1b2c --versionIf you wish to contribute to the tools, report issues, or use the SDK to build custom integrations, refer to the B2C Developer Tooling GitHub Repository. The repository includes detailed information on:
pnpm, running in development mode, and testing.For usage information on the specific commands available in the B2C Commerce CLI, see the B2C DX documentation: