b2c-slas

Installation
SKILL.md

B2C SLAS Skill

Use the b2c CLI plugin to manage SLAS (Shopper Login and API Access Service) API clients and credentials.

Important: SLAS is for shopper (customer) authentication used by storefronts and headless commerce. For admin tokens (OCAPI, Admin APIs), use b2c auth token - see b2c-config skill.

Tip: If b2c is not installed globally, use npx @salesforce/b2c-cli instead (e.g., npx @salesforce/b2c-cli slas client list).

Configuration

Values like tenantId, shortCode, slasClientId, and slasClientSecret resolve from dw.json / SFCC_* env vars / the active instance. Examples below show minimal usage; add flags only to override configured values. If a required value is missing, the CLI emits an actionable error pointing at the flag, env var, and config key. See the b2c-config skill for precedence details.

Relevant overrides:

  • --tenant-id / SFCC_TENANT_ID / tenantId
  • --short-code / SFCC_SHORTCODE / shortCode
  • --slas-client-id / SFCC_SLAS_CLIENT_ID / slasClientId
  • --slas-client-secret / SFCC_SLAS_CLIENT_SECRET / slasClientSecret
Related skills

More from salesforcecommercecloud/b2c-developer-tooling

Installs
81
GitHub Stars
42
First Seen
Feb 11, 2026