---
canonical: https://amplience.com/developers/docs/workforce/setup/integrations/salesforce/
title: Salesforce Commerce Cloud
description: How to connect Amplience Workforce with Salesforce Commerce Cloud to browse and select product data, and use it to generate content and streamline workflows.
audience: Developer
image: https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-2?w=1200&h=630
image_width: 1200
image_height: 630
date_published: 2024-07-18
date_modified: 2026-06-26
---

# Salesforce Commerce Cloud

The following steps outline how to get the API credentials needed to integrate Workforce with [Salesforce Commerce Cloud](https://www.salesforce.com/commerce/) to be able to browse and select products.

You'll need the same credentials to configure the Salesforce B2C commerce action extension for use in Workforce Flows, and for setting up a commerce repository for  Workforce content generation templates.

- [Installing action extension](https://amplience.com/developers/docs/workforce/setup/integrations/#installing-an-action-extension) explains how to install extensions from the Workforce integrations marketplace.

- [Setting up a commerce repository](https://amplience.com/developers/docs/workforce/setup/integrations/#setting-up-commerce-repositories) provides more information about adding commerce repositories.

## What you'll need

The following details are required:

- Salesforce Client ID
- Salesforce Site ID
- Salesforce Catalog ID
- Salesforce Shop API URL
- Salesforce Shop API Version

The information on this page will explain how to set up a client ID in Salesforce Commerce Cloud with the Open Commerce API (OCAPI) permissions required to access the Shop API. You can also use the information from an existing API Client.

## Creating an API Client

In order to allow Workforce to integrate with you Salesforce instance, you need to create a new API client in the SFCC Account Manager.

- Log in to the SFCC Account Manager as an admin user.
- Select the API Client section and click "Add API Client"
- Fill in the information in the API Client screen

![Creating an API Client in Business Manager](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-2?w=1880&fmt=png 'Creating an API Client in Business Manager')

- In the organizations section, add an organization. In the example below we're adding an organization named "10CMS".

![Assigning an organization](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-3?w=1880&fmt=png 'Assigning an organization')

- Assign some roles to the API Client. For the Workforce integration choose "Salesforce Commerce API".

![Assigning roles](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-4?w=1880&fmt=png 'Assigning roles')

You will get a warning saying that no role scopes are defined.

![The no role scopes defined dialog is displayed](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-5?w=1880&fmt=png 'The no role scopes defined dialog is displayed')

- Choose a specific scope or "All sandboxes".

![Choose a specific scope or choose All Sandboxes](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-19?w=1880&fmt=png 'Choose a specific scope or choose All Sandboxes')

- From the "Token Endpoint Auth Method" menu choose "client_secret_basic" and click "Add".

The newly created API Client will be shown in the list.

## Configuring your site

- Log in to SFCC Business Manager and select the site you want to configure to use with Workforce. In this case we're using RefArchGlobal.

![In Business Manager, select the site you want to use with Workforce](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-10?w=1880&fmt=png 'In Business Manager, select the site you want to use with Workforce')

- In SFCC Business Manager, go to Administration > Site Development > Open Commerce API Settings.
- In the Shop API section choose your scope. In this example we have chosen organization wide scope.
- Add the following in your OCAPI settings. Set the client_id to the one you created previously.

```json
{
  "_v": "21.3",
  "clients": [
    {
      "client_id": "**********",
      "allowed_origins": [],
      "resources": [
        {
          "methods": ["get"],
          "read_attributes": "(**)",
          "write_attributes": "(**)",
          "resource_id": "/product_search"
        },
        {
          "methods": ["get"],
          "read_attributes": "(**)",
          "write_attributes": "(**)",
          "resource_id": "/products/{id}"
        }
      ]
    }
  ]
}
```

## Getting the information you need

When everything is set up, you can get the required information to set up the Workforce integration as follows.

### Salesforce Site ID

- Go to Administration > Sites > Manage Sites
- Copy the ID of the site (for example, RefArchGlobal)

![Get the id of the site, in this case RefArchGlobal](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-12?w=1880&fmt=png 'Get the id of the site, in this case RefArchGlobal')

### Salesforce Catalog ID

- Go to Merchant Tools > Products and Catalogs > Catalogs and copy the id of the catalog (for example, storefront-catalog-en)

![You can find the catalog id in merchant tools](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-14?w=1880&fmt=png 'You can find the catalog id in merchant tools')

### Salesforce Shop URL

This is the Salesforce Shop. It's the URL shown in the browser when you are in business manager. It will end with: `commercecloud.salesforce.com`)

![The Salesforce Shop URL will be shown in the browser when you log in to Business Manager](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-20?w=1880&fmt=png 'The Salesforce Shop URL will be shown in the browser when you log in to Business Manager')

### Salesforce Shop API Version

- This is the API version configured in the JSON of your OCAPI shop Settings.

In the Workforce configuration dialog, you need to add it the format such as: `v22_4`.

![You can get the Shop API version from the OCAPI settings](https://cdn.media.amplience.net/i/ampproduct/salesforce-content-studio-16?w=1880&fmt=png 'You can get the Shop API version from the OCAPI settings')

## Setting up the integration in Workforce

When configuring the integration you'll only need to enter:

- Label
- Description
- Salesforce Site ID
- Salesforce Catalog ID
- Salesforce Shop API URL
- Salesforce Shop API version
- Salesforce Client ID

The other fields are not used and you can enter any values in these fields.

## Related pages

[Workforce integrations](https://amplience.com/developers/docs/workforce/setup/integrations/#installing-an-action-extension)

[Workforce- generating content](https://amplience.com/developers/docs/workforce/templates)
