Skip to main content

commercetools

The following steps outline how to get the API credentials needed to integrate Workforce with commercetools to be able to browse and select products.

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

What you'll need
Link copied!

You will need the following information from your commercetools account to set up the integration in Workforce.

  • Project key
  • API base URL
  • Auth base URL
  • Client ID
  • Client Secret

You can create new API Client or use the information from an API Client that you've already setup.

Creating a new API Client
Link copied!

  • Log in to the commercetools Merchant Center.

The commercetools merchant center

  • From the Settings menu choose Developer settings and "Create new API Client".

From the settings menu create an API Client

  • Create a new API Client with the scope: Products (published).

You now have the credentials you'll need to set up the integration with Workforce. Some example credentials are shown below.

Use your credentials to set up the integration in Workforce

To allow you to search for products in Workforce, you need to enable Storefront search in commercetools.

  • Go to Settings > StoreFront search and ensure that the indexing status is active.

Storefront search must be enabled to allow you to search for product data from Workforce

Workforce integrations

Workforce- generating content