Install AI Tools

B2C Commerce tools, documentation, and skills for your assistant.

Claude

Install the plugin Recommended

bash
claude plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
claude plugin install b2c-dx-mcp@b2c-developer-tooling --scope project

Start a new Claude Code session in your project. Use --scope user instead for all projects.

Manual MCP setup

From your project directory:

bash
claude mcp add --transport stdio --scope project b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest

Start a new session. Use --scope user instead for all projects. See Claude Code MCP setup.

Claude Desktop setup

Codex

Install the plugin Recommended

bash
codex plugin marketplace add SalesforceCommerceCloud/b2c-developer-tooling
codex plugin add b2c-dx-mcp@b2c-developer-tooling

Start a new Codex session in your project. This setup also works with the Codex IDE extension and the ChatGPT Work desktop app.

Manual MCP setup
bash
codex mcp add b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest

Or add this to ~/.codex/config.toml (or $CODEX_HOME/config.toml if customized):

toml
[mcp_servers.b2c-dx-mcp]
command = "npx"
args = ["-y", "@salesforce/b2c-dx-mcp@latest"]

Start a new session. See Codex MCP configuration.

ChatGPT online setup

VS Code

Install the plugin Recommended

  1. Open the Command Palette (Cmd/Ctrl+Shift+P) and run Chat: Install Plugin from Source.
  2. Enter SalesforceCommerceCloud/b2c-developer-tooling.
  3. Select b2c-dx-mcp and follow the installation prompts.
  4. Start a new chat in GitHub Copilot.
Manual MCP setup

Add this to .vscode/mcp.json in your workspace:

json
{
  "servers": {
    "b2c-dx-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@salesforce/b2c-dx-mcp@latest"]
    }
  }
}

See VS Code MCP setup.

Copilot CLI setup

Cursor

Reload the MCP server in Cursor after installation.

Manual MCP setup

Add this to .cursor/mcp.json in your project:

json
{
  "mcpServers": {
    "b2c-dx-mcp": {
      "command": "npx",
      "args": ["-y", "@salesforce/b2c-dx-mcp@latest"]
    }
  }
}

For all projects, use ~/.cursor/mcp.json instead.

See Cursor's MCP documentation.

OpenCode

Add this to opencode.json in your project:

json
{
  "mcp": {
    "b2c-dx-mcp": {
      "type": "local",
      "command": ["npx", "-y", "@salesforce/b2c-dx-mcp@latest"],
      "enabled": true
    }
  }
}

Restart OpenCode. For all projects, use ~/.config/opencode/opencode.json. See OpenCode MCP setup.

Gemini

From your project directory, run:

bash
gemini mcp add --scope project b2c-dx-mcp -- npx -y @salesforce/b2c-dx-mcp@latest

Start a new Gemini CLI session. Use --scope user instead for all projects. See Gemini CLI MCP setup.

No separate skills plugins needed.

Other clients and manual setup →
Skip to content
View as Markdown
View as Markdown

Installation

The official Salesforce B2C Commerce extension, published by Salesforce, is available on the Visual Studio Marketplace and the Open VSX Registry.

Install from your editor

Most of the time you'll install directly from your editor's Extensions view:

  1. Open the Extensions view (Cmd+Shift+X / Ctrl+Shift+X).
  2. Search for Salesforce B2C Commerce.
  3. Pick the extension published by Salesforce and click Install.
  4. Reload the window when prompted.

The extension's developer, operations, API, and sandbox views appear in the activity bar.

Your editor pulls from the right registry automatically:

Each release is published to both registries at the same time, so they stay in sync.

Install from the command line

If you prefer the terminal, use your editor's --install-extension command:

bash
# VS Code (Visual Studio Marketplace)
code --install-extension Salesforce.b2c-vs-extension

# Cursor (Open VSX)
cursor --install-extension salesforce.b2c-vs-extension

# VSCodium / Windsurf / other codium-based editors (Open VSX)
codium --install-extension salesforce.b2c-vs-extension

Install from a VSIX

GitHub Releases also provides a pre-built .vsix for offline or air-gapped installs where neither registry is reachable.

Get the latest build

Latest version: 1.2.0 (released Sep 15, 2026).

Download b2c-vs-extension-1.2.0.vsixSee what's new

Install it

Once you've got the file, install it from the command line or from your editor's Extensions view.

bash
code --install-extension b2c-vs-extension-X.Y.Z.vsix
bash
cursor --install-extension b2c-vs-extension-X.Y.Z.vsix
text
1. Open the Extensions view (Cmd+Shift+X / Ctrl+Shift+X)
2. Click the "..." menu in the view header
3. Choose "Install from VSIX..."
4. Pick the file you just downloaded

Install from VSIX

Before you start

A few things to have ready:

  • VS Code 1.105 or newer (Cursor, VSCodium, Windsurf, and other VS Code–compatible editors work too — they install from Open VSX).
  • Access to a B2C Commerce instance for remote workflows.
  • The B2C CLI is optional. Install it when you want to run the same operations from the terminal or CI. See the CLI Installation guide for installation options.

Connect to your sandbox

The extension uses the same connection your CLI already uses, so most of the time there's nothing more to set up. Different features need different credentials though — see Connecting to your sandbox for what each one needs and a copy-paste example.

New here? The Authentication Setup guide walks through getting your credentials in the first place.

Next Steps