You can use IBM App Connect to pass key data between Salesforce Commerce Cloud and other apps – automatically, in real time.

You can use App Connect with Salesforce Commerce Cloud by configuration and data mapping without a need for coding, and can achieve a return on your investment in minutes/hours, not days/months.

This guide is to show you how…

If you can’t find what you want, or have comments about the “how to” information, please either add comments to the bottom of this page or .

About Salesforce Commerce Cloud

Salesforce Commerce Cloud (formerly Demandware) provides businesses with a cloud-based solution to create an online unified shopping experience for their customers. The platform enables businesses to anticipate customer needs from acquired valuable insights so that customers can browse products and make purchases quickly and easily.

The Salesforce Commerce Cloud architecture includes an integration layer which contains a robust set of APIs known as the Open Commerce API (OCAPI). App Connect uses the OCAPI to provide you with custom capabilities to enhance the Salesforce Commerce Cloud functionality. The OCAPI is divided into three APIs:

  • Shop API: The Shop API is for interaction on the website such as browsing products and completing purchases.
  • Data API: The Data API is for backend system resources such as your product inventory and customer lists.
  • Meta API: The Meta API is for details about the resources and documents provided by the open Commerce API, including custom attributes.

App Connect currently provides support for the Data API with the Salesforce Commerce Cloud Digital Data application. Support for the Shop API is coming soon.

A typical business scenario

The organic food supermarket you’re part of is growing exponentially. The CEO has decided not to set up any more stores and that it’s now time to create an online experience for your customers so that they can order food more easily and get products delivered. To do this, your company has just purchased Salesforce Commerce Cloud to power the back end of your online shopping site and to take advantage of its predictive intelligence capabilities. So that your customers can start using your new online experience, you need to transfer your whole product inventory and your entire customer base to Salesforce Commerce Cloud.

How App Connect can help

App Connect can help you achieve this by providing the integration you need. You could set up a flow to retrieve all the products from your existing database and copy them to Salesforce Commerce Cloud. If you plan to continue using your existing database, you could enhance this flow by setting up another flow to synchronise data between your existing database and Salesforce Commerce Cloud to run every day. For more information about how to do this see the Examples section below.

If you’re an existing IBM IIB customer, you’ll already have access to App Connect Enterprise (ACE) so you could combine the ACE capabilities to build more complex flows which involve callable flows. For example, you may already be using the IBM Sterling Order Management System (OMS) to manage your product catalogue. Your front-end website is on Salesforce Commerce Cloud and you need to access the information from your product catalogue on the IBM Sterling OMS because when a customer places an order you need to tell them whether it is in stock or not. The two systems cannot communicate because they use different programming languages, so you’ll need to convert the structured data that moves from the cloud to your enterprise system. This can be achieved by creating a pattern in the ACE toolkit which you can then upload to App Connect where you can then interact with Salesforce Commerce Cloud.

What should I consider first?

To connect App Connect to Salesforce Commerce Cloud Digital Data you need to find the required values for the following settings:

  • Base URL
  • Client ID
  • Client secret

To identify the values you must enter for these settings, see the table below.

Name Info
Base URL The base URL (or protocol and hostname) of your Salesforce Commerce Cloud instance. For example, if the URL of your instance is https://mysite.demandware.net/on/demandware.store/Sites-Site/default/ViewApplication-DisplayWelcomePage, specify the base URL as https://mysite.demandware.net. This value is also typically shown as a Business Manager hostname in the Salesforce Commerce Cloud UI, under Administration > Sites > Manage Sites > Business Manager > Hostnames.

  • Example: Locating the hostname

    Locating the Business Manager hostname by navigating to Administration > Sites > Manage Sites > Business Manager > Hostnames
    Click to view full size

Client ID
  1. In a web browser, log in to the Salesforce Commerce Cloud Account Manager https://account.demandware.com/ with an ID that has administration access (or ask your Salesforce Commerce Cloud administrator to do the following steps for you).
  2. Click API Client. The API clients page is displayed showing a list of client IDs.
  3. If you need to create a client ID, click Add API client.

For more information, see Add a Client ID for the Open Commerce API (requires login to the demandware.com domain).

  1. Alternatively, you can log in to your Salesforce Commerce Cloud Business Manager account (https://mysite.demandware.net) with an ID that has administration access (or ask your Salesforce Commerce Cloud administrator to do the following step for you).
  2. In the Business Manager UI, click Administration > Site Development > Open Commerce API Settings.
    • Example: Locating the client ID

      Locating the client ID by navigating to Administration > Site Development > Open Commerce API Settings
      Click to view full size

Tip: If you’re using a sandbox or test environment, you can use a demo client ID value of aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.
Client secret

Once you have a client ID, you need to request an access token via the Digital Authorization Server. If the request is successful, the Digital Authorization Server returns an access token.

Work with your Salesforce Commerce Cloud account administrator to obtain a client secret for the OCAPI client.

For more information, see OCAPI OAuth 2.0 18.8(requires login to the demandware.com domain).

Tip: If you’re using a sandbox or test environment, you can use a demo client secret value of aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa.

Examples

Screenshot of the dashboard tile for a flow that syncs products between IBM DB2 and Salesforce Commerce Cloud

Introducing support for Salesforce Commerce Cloud

Learn how easy it is to sync products between IBM Db2 and Salesfoce Commerce Cloud Digital Data

Join The Discussion

Your email address will not be published. Required fields are marked *