B2C Slas
ListedOptimizes B2C product recommendations in real-time based on customer behavior, boosting engagement and driving revenue growth.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add salesforcecommercecloud/b2c-developer-tooling --skill b2c-slas -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
salesforcecommercecloud
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
We could not read this skill's source, so none of the checks below were run.
About this skill
What it does
This skill provides command-line interface (CLI) tools to manage Shopper Login and API Access Service (SLAS) API clients and credentials within a Salesforce Commerce Cloud environment. SLAS is specifically used for shopper authentication in storefronts and headless commerce implementations, not for administrative access. The tool allows you to create, list, and retrieve details of these SLAS clients, enabling development and testing workflows.
When to use it
- Testing Custom APIs: Create a client with custom scopes to test your Custom API endpoints.
- PWA/Headless Development: Configure clients for composable storefronts.
- Integration Testing: Create dedicated test clients with specific scope sets.
Key capabilities
- Lists all SLAS clients for a given tenant ID.
- Retrieves details of a specific SLAS client.
- Creates new SLAS clients, including specifying channels, scopes, redirect URIs, and whether to create the tenant if it doesn't exist.
- Supports creation of public clients.
- Allows outputting commands in JSON format for capturing generated secrets or automating tasks.
Example prompts
b2c slas client list --tenant-id abcd_123(Lists all SLAS clients)b2c slas client create --tenant-id abcd_123 --channels RefArch --default-scopes --redirect-uri http://localhost:3000/callback(Creates a new SLAS client with default scopes)b2c slas client create my-client-id --tenant-id abcd_123 --scopes sfcc.shopper-products,sfcc.shopper-search --redirect-uri http://localhost:3000/callback(Creates a new SLAS client with specific scopes)
Tips & gotchas
- Ensure the
b2cCLI is installed globally or usenpx @salesforce/b2c-clito execute commands. - This skill manages clients for shopper authentication only; use the
b2c-configskill for admin tokens (OCAPI, Admin APIs). - Use
--scopes(plural) when specifying client scopes, not--auth-scope.