---
title: Salesforce Commerce Cloud
description: Import your Salesforce Commerce Cloud logs into Datadog
breadcrumbs: Docs > Integrations > Salesforce Commerce Cloud
---

# Salesforce Commerce Cloud
Integration version1.0.0
## Overview{% #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](https://app.datadoghq.com/logs/).

## Setup{% #setup %}

### Installation{% #installation %}

No installation is required.

### Configuration{% #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{% #creating-an-api-client %}

1. Follow the steps in the [Commerce Cloud instructions for creating a client](https://help.salesforce.com/s/articleView?id=cc.b2c_account_manager_add_api_client_id.htm&type=5). 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/`.
1. Make note of the API client ID and secret (also called the username and password.) They are needed in subsequent steps.
1. 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.

```json
{  
   "clients":[  
      {  
         "client_id":"<your-client-id-here>",
         "permissions":[  
            {  
               "path":"/logs",
               "operations":[  
                  "read"
               ]
            }
         ]
      }
   ]
}
```

#### Connecting the Datadog integration{% #connecting-the-datadog-integration %}

1. Click **Add New** on the Configuration tab of the [Salesforce Commerce Cloud integration tile](https://app.datadoghq.com/account/settings#integrations/salesforce-commerce-cloud).
1. 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.
1. Click the green checkmark **Save** button.

#### Results{% #results %}

Wait ten minutes to see [logs](https://app.datadoghq.com/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{% #data-collected %}

### Metrics{% #metrics %}

The Salesforce Commerce Cloud integration does not include any metrics.

### Logs{% #logs %}

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

### Service Checks{% #service-checks %}

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

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).

## Further Reading{% #further-reading %}

- [Salesforce Commerce Cloud](https://docs.datadoghq.com/integrations/salesforce_commerce_cloud/)
