Salesforce Commerce Cloud

Supported OS Linux Windows Mac OS

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Overview

Salesforce Commerce Cloud is a multi-tenant, cloud-based commerce platform. Integrate Salesforce Commerce Cloud with Datadog to view and parse your logs using Datadog Logs.

Setup

Installation

No installation is required.

Configuration

To configure Salesforce Commerce Cloud to allow access for Datadog to import log data, you must create an API client. Then, register that API client with Datadog.

Creating an API client

  1. Follow the steps in the Commerce Cloud instructions for creating a client. In the Token Endpoint Auth Method field choose private_key_jwt. For the Access Token Format field choose JWT. Note: This integration only supports API clients provisioned using the main Account Manager instance at https://account.demandware.com/.
  2. Make note of the API client ID and secret (also called the username and password.) They are needed in subsequent steps.
  3. Under Administration > Organization > WebDAV Client Permissions in your Business Manager interface, add the following JSON. Make sure to insert your client ID in the appropriate place.
{  
   "clients":[  
      {  
         "client_id":"<your-client-id-here>",
         "permissions":[  
            {  
               "path":"/logs",
               "operations":[  
                  "read"
               ]
            }
         ]
      }
   ]
}

Connecting the Datadog integration

  1. Click Add New on the Configuration tab of the Salesforce Commerce Cloud integration tile.
  2. Enter your Business Manager domain (for example, my-0001.sandbox.us02.dx.commercecloud.salesforce.com) and the API client ID and secret obtained in the previous step.
  3. Click the green checkmark Save button.

Results

Wait ten minutes to see logs coming in under the source salesforce.commerce.cloud.

The SFCC Log Center represents log data differently than Datadog does. For instance, some error logs with large stack traces are broken into two log events in the SFCC Log Center, while the stack trace details are omitted in Datadog. This results in a discrepancy in the total count of log events between the two systems.

Data Collected

Metrics

The Salesforce Commerce Cloud integration does not include any metrics.

Logs

The Salesforce Commerce Cloud integration collects logs via a webdav connection to your Commerce Cloud instance.

Service Checks

The Salesforce Commerce Cloud integration does not include any service checks.

Troubleshooting

Need help? Contact Datadog support.

PREVIEWING: mervebolat/span-id-preprocessing