---
title: Integrate Salesforce Data Cloud Audience Sync
slug: data-platform/docs/integrate-salesforce-data-cloud-audience-sync
docTags: 
createdAt: 2026-08-10T12:05:17.000Z
---

Sync Salesforce Data Cloud segments to Optimizely Data Platform (ODP) as lists that are automatically added to real-time segments. The lists capture your Salesforce audience subscribers and unsubscribers, and identify the customer by the ID you choose in Salesforce.

You can then use these real-time segments in Optimizely Experimentation or CMS 11 & 12. This is a [CDP audience sync integration](docId\:jUx2QP7GrcRvtlRjQeXQ7).

## Prerequisites

- Salesforce Data Cloud account
- ODP account
- Optimizely Web Experimentation, Optimizely Feature Experimentation, or Optimizely Content Management System (CMS) 11 or 12 account
- Configure one of the following Optimizely integrations with ODP:
  - [Real-Time Segments in Optimizely Web Experimentation](docId:8r8kPcfPk_gyXkMubzNwK)
  - [Real-Time Segments in Optimizely Feature Experimentation](docId:6UBBxxRv331nBIVZ2lun8)
  - [Real-Time Segments in Optimizely Content Management System (CMS) Visitor Groups](https://github.com/unrvld/ODP.VisitorGroups)

## Gather info from ODP

1. Go to the ODP **App Directory**.
2. Select the **Salesforce Data Cloud Audience Sync** app.
3. Click **Install App**.
4. Go to the **Settings** tab.
5. Copy the **S3 bucket** and **Parent folder** values. Save these as you need them to configure the connection in Salesforce Data Cloud.
6. Go to **Data Setup > Integrations** in ODP.
7. Select **AWS**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/XTuZ7PsYZeNumAKcBmD3w-20260720-145712.png)
8. Copy the **Key ID** and **Secret Access Key** values. Save these keys as you need them to configure the connection in Salesforce Data Cloud.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/kUpFcWjE6Or4nMgbYwppD-20260720-145712.png)

## Configure the integration in Salesforce Data Cloud

### Create the activation target

1. Go to **Activation Targets** in Salesforce Data Cloud.
2. Click **New**.
3. Select **AWS** as the **File Storage**, then click **Next**.
4. Enter the **Activation Target Name**. For example, *Optimizely Audience Sync*.
5. Click **Next**.
6. Complete the following settings, then click **Save**.
   - **S3 Bucket** – Paste the appropriate regional S3 bucket location you copied from ODP.
   - **Parent Folder** – Paste the parent folder value you copied from ODP.
   - **S3 Access Key** – Paste the **Key ID** you copied from ODP.
   - **S3 Secret Key** – Paste the **Secret Access Key** you copied from ODP.
   - **File Format** – Select **CSV**.
   - **Data Space** – Select your desired data space.
7. Click **Save**.

### Create the Optimizely ID field

1. Go to **Data Model > Individual** in Salesforce Data Cloud.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/rLzDODyg29DWkdRxK-RM9-20260720-145712.png)
2. Click **Edit**. 

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/mANrAZHTVWS7QOgsQ0eLQ-20260720-145712.png)
3. Click **Add Field**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/HEvT-VzQ-DFBcBzM4Kc-q-20260720-145712.png)
4. Complete the following settings for the field:
   - **Field Label** – Enter *optimizely id*.
   - **Field API Name** – Enter *optimizely\_id*.

     :::hint{type="warning"}
     **Important**
     You must name the field *optimizely\_id*. The integration will not work if you name it anything else.
     :::
   - **Data Type** –Select **Text**.
   - **Primary Key** – Leave this checkbox cleared.
   - **Enable Value Suggestion** – Leave this checkbox cleared.
5. Click **Save**.

### Map the Optimizely ID field to a Salesforce ID

1. Go to **Data Lake Objects** in Salesforce Data Cloud.
2. Click the Salesforce field that you want to map the Optimizely ID to.
3. Click **Review**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/TXwBhZbis-1hnRSZxecYJ-20260720-145712.png)
4. Map the **optimizely id** to the Salesforce field that you want to use to identify customers for this integration. For example, you can map it to the Salesforce cookie ID.

### Sync Salesforce segments to ODP

1. Go to **Segments** in Salesforce Data Cloud.
2. Select a segment and in the **Activations** section, click **New**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/oyjDLU0u4YOPpA3fg2jBZ-20260720-145712.png)
3. Click **Next**.

   ![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/GwI0DsbHYzHsd6FUOUwe7-20260720-145712.png)
4. Click **Add Attributes**, expand **Individual**, and drag and drop **optimizely id** to add the attribute to the activation.
5. Click **Next**.
6. Complete the following settings:
   - **Name** – Enter a name for the activation.
   - **Refresh Type** – Select **Incremental**.
7. Click **Save**.

Salesforce Data Cloud audiences display in ODP with the prefix "Salesforce Data Cloud." For example, if the audience name in Salesforce Data Cloud is *New users in the last 30 days*, it displays on the ODP **Customers > Audiences** page as *Salesforce Data Cloud - New users in the last 30 days*.

## Use your Salesforce audiences in Optimizely Experimentation

:::hint{type="info"}
**Note**
You must configure the Real-Time Segments in Optimizely Web Experimentation or Optimizely Feature Experimentation integration before you can access your Amplitude behavioral cohorts in Optimizely Experimentation.
:::

1. In Optimizely Experimentation, go to the **Audiences** page.
2. Edit an audience or click **Create New Audience**.
3. Expand **Real-Time Segments**, then drag and drop the **Custom Segments** condition into the **Audience Conditions** section.
4. Expand the **Custom Segments** drop-down list and select the audience you connected from Salesforce Data Cloud.
5. Click **Save Audience**.

Now you can add this audience to an experiment.
