forcedotcom avatar

Commerce B2b Store Create

This walks you through the full B2B Commerce store creation flow in Salesforce, which is more manual than you might expect. You create the store through the UI setup wizard (it auto-generates hundreds of config values), then the skill helps you list available DigitalExperienceConfig sites, select the right one, and retrieve the storefront metadata to your repo. The interactive seven-step process exists because store names get mangled with underscores and number suffixes, so you need to see what actually got created before retrieving. The key concept it hammers home is that you never create storefront metadata manually. The wizard generates it, you retrieve it, then you can customize and deploy.

skills.sh installs
4.7K
GitHub stars
1.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add forcedotcom/sf-skills --skill commerce-b2b-store-create --agent claude-code

Installs into .claude/skills of the current project.

Files

Commerce B2B Storefront Creation

Interactive workflow to create a Commerce B2B Store in Salesforce and retrieve the auto-generated storefront metadata to your repository.

Critical Concepts

Commerce B2B = Store (backend data) + Storefront (frontend metadata). Store must be created first in the org to auto-generate the Storefront. Never create storefront metadata manually.

See Store vs Storefront Reference

When to Use This Skill

Trigger when users request:

  • "Create a B2B Commerce store"
  • "Build a Commerce storefront"
  • "Set up Commerce B2B"
  • "Create B2B Commerce"
  • "Retrieve Commerce storefront metadata"
  • "Deploy B2B storefront"

Rules That Always Apply

  1. Always follow the interactive flow. Do NOT skip steps. Each step requires user confirmation before proceeding.

  2. Never create storefront metadata manually. The Commerce setup wizard generates hundreds of configuration values. Manual creation will fail.

  3. Always list sites before retrieval. Store names get underscores and number suffixes (e.g., "My B2B Store" → "My_B2B_Store1"). Let the user select from the actual list.

Sponsors

Details

Repository
github.com/forcedotcom/sf-skills
Categories
DevOps & CI/CD, Release Management, Automation & Workflows, Sales & Marketing
First seen
Jul 14, 2026

More from forcedotcom/sf-skills

All 158
1grafana avatarinfrastructuregrafana/skillsShip Kubernetes, host, container, and cloud-provider telemetry into Grafana Cloud — `k8s-monitoring` Helm chart for K8s clusters (metrics + logs + traces + even4.6Kskills.sh installs
2dpearson2699 avatarios-networkingdpearson2699/swift-ios-skillsBuild, review, or improve networking code in iOS/macOS apps using URLSession with async/await, structured concurrency, and modern Swift patterns. Use when worki4.6Kskills.sh installs
3grafana avatartestinggrafana/skillsProbe, load-test, and instrument frontends from Grafana Cloud. Covers Synthetic Monitoring (HTTP / DNS / TCP / Ping / Traceroute / Multihttp / k6-browser script4.5Kskills.sh installs
4grafana avatarfleet-managementgrafana/skillsManage a fleet of Grafana Alloy collectors with Fleet Management — author Alloy pipelines once, target them via attribute matchers (`env="production"`, regex `r4.5Kskills.sh installs
5grafana avataroncall-irmgrafana/skillsRoute alerts, run on-call rotations, and drive incidents in Grafana IRM / OnCall — integrations (Alertmanager / Grafana Alerting / generic webhook / PagerDuty),4.5Kskills.sh installs
6grafana avatarcloud-integrationsgrafana/skillsSet up, configure, and troubleshoot Grafana Cloud integrations for AWS, Azure, and other cloud providers. Use when the user asks to connect AWS CloudWatch, set 4.5Kskills.sh installs