Introduction
The B2C Developer Tooling provides command-line and AI-assisted development tools for Salesforce B2C Commerce.
- B2C CLI: Command-line interface that you can use to deploy code, manage sandboxes, run jobs, and so on from the terminal.
- MCP Server: AI-assisted development tools for Claude Code, Cursor, GitHub Copilot, and other AI assistants.
Quick CLI Install
bash
npm install -g @salesforce/b2c-clibash
npx @salesforce/b2c-cli --helpbash
brew install SalesforceCommerceCloud/tools/b2c-cliSee the CLI Installation Guide for more installation options.
Quick MCP Install
The B2C DX MCP Server enables AI assistants to help with B2C Commerce development tasks.
Claude Code:
bash
cd /path/to/your/project
claude mcp add --transport stdio --scope project b2c-dx -- npx -y @salesforce/b2c-dx-mcp --allow-non-ga-toolsbash
claude mcp add --transport stdio --scope user b2c-dx -- npx -y @salesforce/b2c-dx-mcp --allow-non-ga-toolsCursor: Add to Cursor
See the MCP Server Installation Guide for detailed setup instructions for Claude Code, Cursor, GitHub Copilot, and other MCP clients.
Next Steps
- Authentication Setup - Set up Account Manager, OCAPI, and WebDAV
- Analytics Reports (CIP/CCAC) - Run curated analytics reports and SQL queries
- Configuration - Configure instances and credentials
- IDE Integration - Connect Prophet VS Code to B2C CLI configuration
- MCP Server - AI-assisted development with Model Context Protocol
- CLI Reference - Browse available commands
- MCP Tools - Explore MCP tools for cartridges, MRT, SCAPI, and so on
- SDK Reference - Explore the SDK