commerce-b2b-store-create

Guides interactive creation of Salesforce Commerce B2B stores and retrieves storefront metadata.

Updated Jul 2, 2026
One-click install
npx skills add https://github.com/padjei/SF_Build --skill commerce-b2b-store-create-padjei
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: commerce-b2b-store-create
Source: https://github.com/padjei/SF_Build/tree/main/.claude/skills/commerce-b2b-store-create
Command: npx skills add https://github.com/padjei/SF_Build --skill commerce-b2b-store-create-padjei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Setting up a Salesforce Commerce B2B storefront requires creating a Store in the org first, then retrieving the auto-generated DigitalExperienceBundle metadata—a process that fails if done manually or out of order. This Skill walks you through the correct sequence with confirmation at each step. ## Core Features & Use Cases - Guided Store Creation: Step-by-step instructions for creating a B2B Commerce Store via Setup → Commerce → Stores, including naming conventions and wizard options. - Storefront Discovery: Lists available Digital Experience sites using sf org list metadata --metadata-type DigitalExperienceConfig --json so you select the correct auto-generated site name. - Metadata Retrieval: Retrieves the full DigitalExperienceBundle with sf project retrieve start -m DigitalExperienceBundle:site/<name> --json for source control and customization. - Use Case: You need to version-control a new B2B storefront. The Skill confirms the Store exists, lists sites like My_B2B_Store1, retrieves the metadata into force-app/main/default/digitalExperiences/, and provides deploy commands for target orgs. ## Quick Start Ask the agent to create a B2B Commerce store and retrieve its storefront metadata, then follow the seven-step interactive workflow confirming each stage.

Frequently Asked Questions about commerce-b2b-store-create

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a B2B Commerce store in Salesforce?▼

Create the store via Setup → Commerce → Stores or App Launcher → Commerce → Create Store, selecting Commerce Store as the type. The wizard generates the WebStore record, buyer groups, entitlement policies, and the associated Digital Experience site automatically.

How to retrieve Commerce storefront metadata with Salesforce CLI?▼

First list sites with `sf org list metadata --metadata-type DigitalExperienceConfig --json`, then retrieve with `sf project retrieve start -m DigitalExperienceBundle:site/<site-name> --json`. The metadata lands in force-app/main/default/digitalExperiences/site/<name>/.

Can I create Commerce storefront metadata manually from scratch?▼

No. Storefront metadata contains hundreds of auto-generated configurations, component IDs, and WebStore associations that cannot be created manually. The Store must be created in the org first so the setup wizard generates the Digital Experience.

Why does my B2B store name have underscores and a number suffix?▼

Salesforce converts spaces to underscores and appends numeric suffixes when generating the site name, so 'My B2B Store' becomes 'My_B2B_Store1'. Always list actual Digital Experience sites and select from the real names before retrieving.

What licenses are required for Salesforce B2B Commerce development?▼

You need Commerce licenses, Experience Cloud, and the Salesforce CLI installed. Without these, the Commerce setup wizard and DigitalExperienceBundle retrieval commands will not be available in your org.