Merchandising Configuration Setup

To provide successful communication between the module functionality and the cloud platform, create a client in the Intelligent Selling Services.

Create an Integration Client

Create a client to be able to interact with the services.

Procedure

  1. Sign in to the Intelligent Selling Services.
  2. From the left-hand menu, go to Development tab and select Clients.
  3. Click Create.

    The Add new client dialog box appears.

  4. Provide the following details:
    • Client ID: Enter the ID of your client.
    • Client name: Enter a meaningful name for your client.
  5. Click ADD.

    A pop-up window with the client details appears. It displays all information you entered in the previous step, and additionally provides you with the client secret.

Configure Merchandising Service Clients

Create and configure the Merchandising Strategy service client to retrieve strategies, and the Merchandising Catalog service client to send catalog information.

Prerequisites

  • Create an integration client.
  • Configure Intelligent Selling Services Foundation. For more details, see Intelligent Selling Services Foundation Integration.
  • Only one base site of single SAP Commerce Cloud instance might be integrated with Intelligent Selling Services. If you need more base sites, use separate instances for each of them. The SAP Commerce Cloud product directory must not be assigned to more than one base site.

Procedure

  1. In the SAP Commerce Cloud Administration Console, go to Start of the navigation pathConsole Next navigation step ImpEx ImportEnd of the navigation path.
  2. Adapt the following ImpEx to your specific settings and import it:
    $client = <the ID of your SAP Commerce client which you created in ISS lounge. Use your clientId without the tenant ID>
    $region = <the region in which this tenant is created, e.g. us or eu>
    $tenantid = <the tenant ID, e.g. htv730339940>
    $site = <the ISS site ID, e.g. siteOne>
    $basesite = <the site within your SAP Commerce instance, which shall be configured for ISS, e.g. "electronics">
    
    $strategyservice = https://$tenantid-$site.api.$region.context.cloud.sap/strategy
    $catalogservice = https://$tenantid-$site.api.$region.context.cloud.sap/catalog
    
    INSERT_UPDATE Endpoint;id[unique=true];version[unique=true];specUrl;name
                          ;MerchStrategyServiceClient;v1;"empty";"MerchStrategyServiceClient"
                          ;MerchCatalogServiceClient;v1;"empty";"MerchCatalogServiceClient"
                          ;MerchCatalogServiceProductDirectoryClient;v1;"empty";"MerchCatalogServiceProductDirectoryClient"
    INSERT_UPDATE ConsumedDestination;id[unique=true];url;additionalProperties(key,value)[map-delimiter=|];endpoint(id);destinationTarget(id)[default=$tenantid];credential(id)
                                     ;StrategyClient$basesite;$strategyservice;baseSite->$basesite|clientClassName->MerchStrategyServiceClient|oauth.scope->cds.roles.customerec;MerchStrategyServiceClient;$tenantid;$tenantid.$client
                                     ;CatalogClient$basesite;$catalogservice;baseSite->$basesite|clientClassName->MerchCatalogServiceClient|oauth.scope->cds.roles.customerec;MerchCatalogServiceClient;$tenantid;$tenantid.$client
                                     ;CatalogProductDirectoryClient$basesite;$catalogservice;baseSite->$basesite|clientClassName->MerchCatalogServiceProductDirectoryClient|oauth.scope->cds.roles.customerec;MerchCatalogServiceProductDirectoryClient;$tenantid;$tenantid.$client
     
    Include the following values in your ImpEx configuration:
    Field Value Remarks
    $client Your client with the Commerce Cloud integration client role. Used for authentication purposes.
    $tenantid The ID of your tenant. Used for authentication purposes.
    $region The region in which your tenant was created, either EU or US. Used for authentication purposes.
    $basesite The ID of your SAP Commerce Cloud base site, such as apparel-uk. Used for mapping a tenant to a base site.
    $site The site defined in your tenant. Used for authentication purposes.