Skip to content

Salesforce Commerce Cloud

The Salesforce Commerce Cloud app adds a field type for selecting products and categories from a connected Salesforce Commerce Cloud instance and referencing them in Storyblok content.

Read more about connecting a store in the e-commerce concept.

  • Select Salesforce Commerce Cloud products and categories in the Visual Editor.
  • Limit how many items an editor can select.
  • Restrict the field to products only or categories only.
  1. In Salesforce, create an API client. Select the roles of the Salesforce Commerce API category, grant the sfcc.catalogs and sfcc.products scopes, and set the token endpoint authentication method to client_secret_post.
  2. In the Storyblok Block Library, add a field to a block, set its field type to Plugin, and set the custom type to sb-salesforce.

The field takes the following options:

Option Required Description
clientId Yes Client ID of the API client.
clientSecret Yes Client secret of the API client.
shortCode Yes Short code of the instance, part of its base URL.
siteId Yes Identifier of the site to read from.
limit No Maximum number of items an editor can select.
selectOnly No Restricts the field to products or categories.

Was this page helpful?

What went wrong?

This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.