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 send us comments by email.
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.
|Base URL||The base URL (or protocol and hostname) of your Salesforce Commerce Cloud instance. For example, if the URL of your instance is
For more information, see Add a Client ID for the Open Commerce API (requires login to the demandware.com domain).
Tip: If you’re using a sandbox or test environment, you can use a demo client ID value of
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
Introducing support for Salesforce Commerce Cloud
Learn how easy it is to sync products between IBM Db2 and Salesfoce Commerce Cloud Digital Data