---
schema_version: "1"
id: ecec4c15cc4c7febe31fc963b4578b85602dfcd3a5e7b61d8047fdb593ebfad7
title: Set Up a Salesforce B2C Commerce Intelligence Connection
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/data-cloud/data-cloud-int/guides/b2ce/c360-a-set-up-b2ce-connection.md
canonical_url: https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-set-up-b2ce-connection.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a0f3a9443062de0149534d02c5dba9cf8137325d99d7e54c2ce9353a0c7337d4
products:
  - Data 360 Integration Guide
  - Data 360 Developer Documentation
---
# Set Up a Salesforce B2C Commerce Intelligence Connection

Set up the Salesforce B2C Commerce Intelligence connection to start the flow of data into Data 360.

| User Permissions Needed |                                                             |
| ----------------------- | ----------------------------------------------------------- |
| To create a connection: | System Admin profile or Data Cloud Architect permission set |

Before you begin:

- Enable the connector through the feature manager. See [Enable Data 360 Features](https://help.salesforce.com/s/articleView?id=data.c360_a_feature_manager.htm&type=5).
- Verify your admin has enabled firewalls on the system you want Data 360 to connect to by including these [IP addresses](https://help.salesforce.com/s/articleView?id=data.c360_a_data_cloud_ip_address_allowlist.htm&type=5) to your allowlists.

1. In Data Cloud, click **Setup**, and select **Data Cloud Setup**.

2. Under External Integrations, select **Other Connectors**.

3. Click **New**.

4. Select **Salesforce B2C Commerce Intelligence** and click **Next**.

5. Enter a connection name, connection API name, and provide the authentication and connection details.

6. For Authentication Details, enter your [Account Manager](https://account.demandware.com/) username (client Id) and password (client secret). The client Id must have the Salesforce Commerce API permission.

7. For Connection Details, enter the Connection URL and Database.

   The database value is composed of your realm Id, an underscore (`_`), and your instance (for example, `bjnl_prd`).

   You create a Connection URL by appending the database value to `jdbc.analytics.commercecloud.salesforce.com:443` (for example, `jdbc.analytics.commercecloud.salesforce.com:443/bjnl_prd`).

   **note:** For non-production environments, use a different connection URL. See [Connecting to Non-Production Environments](#connecting-to-non-production-environments).

8. To review your configuration, click **Test Connection**.

9. Click **Save**.

After the connector details are accepted, the connection is created and listed under Connectors. You can now create data streams.

## Connecting to Non-Production Environments

Starting with B2C Commerce release 26.1, you can connect the Salesforce B2C Commerce Intelligence Connector to non-production B2C Commerce environments. Supported non-production instances include:

- On-demand sandboxes (ODS)
- Development instances
- Staging instances
- Production instances in designated test realms (realms not serving live traffic)

### Enable Non-Production Access

To use the connector with a non-production instance, turn on the **Enable Reports & Dashboards Data Tracking** feature switch in Business Manager. For instructions, see [Set Feature Switches (Toggles) in B2C Commerce](https://help.salesforce.com/s/articleView?id=cc.b2c_feature_switches.htm&type=5). After turning on the feature switch, wait up to 2 hours for provisioning to complete.

### Non-Production Connection URL

For non-production environments, use the non-production connection URL instead of the production URL:

| Environment    | Connection URL                                                   |
| -------------- | ---------------------------------------------------------------- |
| Production     | `jdbc.analytics.commercecloud.salesforce.com:443/{database}`     |
| Non-Production | `jdbc.stg.analytics.commercecloud.salesforce.com:443/{database}` |

Replace `{database}` with your realm ID and instance (for example, `bjnl_dev` or `bjnl_stg`).

## Next Step

- [Create a Salesforce B2C Commerce Intelligence Data Stream](https://developer.salesforce.com/docs/data/data-cloud-int/guide/c360-a-create-b2ce-data-stream.md)
