Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Set up the SAP Commerce Cloud spoke

Integrate your ServiceNow instance with the SAP Commerce Cloud to automate various actions on the SAP Commerce Cloud. For example, you can set up a flow that looks up a shopping cart at a specified time every day.

Before you begin

  • Request an Integration Hub subscription.
  • Install the SAP Commerce Cloud plugin.
  • Role required: admin.
  • Access to the SAP Backoffice account.

Create the SAP Commerce Cloud credentials

Generate the credentials that you use to create the connection record for the SAP Commerce Cloud spoke. Your ServiceNow instance uses the connection record connect with the SAP Commerce Cloud.

Before you begin

Role required: admin

Access to the SAP Backoffice account.

Procedure

  1. Log in to the SAP Backoffice account.

  2. On the left panel, go to System > OAuth > OAuth Clients.

Image omitted: sap-cloud-commerce-spoke-oauth-client-nav.png
OAuth Client navigation.
  1. To create a client ID, select the Add Client ID icon (
Image omitted: add-icon.png
Add Client ID icon.\).
  1. In the OAuth client ID, enter a custom client ID.

  2. In the Client Secret field, enter a custom password and then verify the password.

Image omitted: sap-commerce-cloud-spoke-create-client-ID.png
Client ID and secret fields.
  1. Under BASIC, add the details.

    1. Under Authorities, add ROLE_CLIENT.

    2. Under Client Grant Types, add the details.

      • client_credentials
      • refresh_token
      • password
      • authorization_code
        1. Under Scopes, add basic.
  2. On the Create New OAuth Client Details window, do the steps.

Image omitted: sap-commerce-cloud-spoke-oauth-screen.png
OAuth Client Details window.
1.  Under ESSENTIAL, enter the custom OAuth client ID and client secret.

2.  Under BASIC, add ROLE\_CLIENT and under Client Grant Types, add the values.

    -   client\_credentials
    -   refresh\_token
    -   password
    -   authorization\_code
3.  Under SCOPES, add enter basic.

4.  Under TOKEN VALIDITY, enter the time for which the token to access the SAP Commerce Cloud is valid.

5.  Select **DONE**.
Image omitted: sap-commerce-cloud-spoke-auth-done.png
Create New OAuth Client Details window.
The credentials to create a SAP Commerce Cloud connection record are created.

Create connection record for SAP Commerce Cloud spoke

Create a connection record that enables your ServiceNow instance to connect with the SAP Commerce Cloud record. The connection record has the underlying connection information required to integrate with SAP Commerce Cloud.

Before you begin

Role required: admin

Procedure

  1. Navigate to All > Process Automation > Flow Designer.

  2. Select Connections.

  3. Turn on the Outbound tab.

  4. In the Search all connections field, enter SAP Commerce Cloud.

  5. On the SAPCommerceCloud card, select View Details.

  6. Select Configure.

  7. Fill the form.

    FieldDescription
    Connection NameName of the connection record. The default and read-only name of the first connection record is SAPCommerceCloud. To provide a custom name to a connection record, you must create a connection record by selecting Add Connection.
    Connection URLURL that your ServiceNow instance uses to connect to the SAP Commerce Cloud.
    OAuth Client IDClient ID that you generated on your SAP Backoffice account.
    OAuth Client SecretClient secret that you had generated on your SAP Backoffice account.
    OAuth Redirect URLURL of your ServiceNow instance in the format https://<instance-name>.service-now.com/oauth_redirect.do.
    OAuth Token URLURL in the format https://<instance-name>/authorizationserver/oauth/token.
  8. Select Create and Get OAuth Token.

    The OAuth token is generated and your ServiceNow is connected to the SAP Commerce Cloud.

Create a credential record for the SAP Commerce Cloud

Integrate the ServiceNow instance and SAP Commerce Cloud spoke by creating a custom OAuth application in SAP Commerce Cloud to authenticate ServiceNow requests.

Before you begin

  • Request an Integration Hub subscription.
  • Activate SAP Commerce Cloud.
  • Role required: admin

Procedure

  1. Navigate to All > Connections & Credentials > Credentials.

  2. Click New.

    The system displays the message What type of Credentials would you like to create?.

  3. Select OAuth 2.0 Credentials.

  4. On the form, fill these values.

    FieldDescription
    NameName to uniquely identify the record. For example, SAP Commerce Cloud cred Cred.
    ActiveOption to actively use the credential record.
    OAuth Entity ProfileOAuth profile created during the registration of SAP Commerce Cloud as an OAuth provider. For example, SAP Commerce Cloud default_profile OAuth Profile.
    Applies toOption to specify if the credential applies to all MID Servers in your network, or to one or more Specific MID servers. Specify the MID Servers that should use this credential in the MID servers field.
    OrderOrder to apply this credential. For example, 100.
    Credential aliasCredential alias associated with the spoke.

Create a connection record for the SAP Commerce Cloud

Create a connection record for your SAP Commerce Cloud account. The SAP Commerce Cloud connection and credential aliases use these connections to perform actions in SAP Commerce Cloud.

Before you begin

Role required: admin.

Procedure

  1. Navigate to All > Connections & Credentials > Connections & Credentials Aliases.

  2. Open the alias record for SAP Commerce Cloud.

  3. From the Connections tab, click New.

  4. On the form, fill these fields.

    FieldDescription
    NameName to uniquely identify the record. For example, SAP Commerce Cloud Connection.
    CredentialCredential record created for SAP Commerce Cloud spoke. For example, SAP Commerce Cloud Cred.
    Connection aliasAlias record associated with this connection.
    HostIP address of the target host where the SAP Commerce Cloud server is installed.
    ActiveOption to actively use the connection record.
    DomainDomain that the action runs in.
    Override default portTarget port used by the connection. If blank, the system uses the default port.
  5. Click Submit.