---
title: Pardot connector (CMS 12)
slug: cms-12/docs/pardot-connector-cms-12
createdAt: 2026-08-10T15:56:02.000Z
---

:::hint{type="info"}
**Note**

The [Optimizely Digital Experience Platform (DXP)](https://www.episerver.com/products/dxp) contains many features to support you in your daily work. Depending on how your solution is set up, some features described in this documentation may not be available.
:::

The Pardot® connector add-on automatically exports form data from your website to your Pardot account database by mapping Optimizely form fields to Pardot database fields. For information about other database connector add-ons, see [Marketing Automation](docId\:lw3KOQMT4bS88DycCZNow).

In 2020, Pardot added a more modern, consistent, and secure method to authenticate the Pardot API. The newly supported authentication method leverages the familiar Salesforce OAuth flows using your Salesforce users, no longer requiring a one-off Pardot-only user.

## Set up Optimizely forms with Pardot

The Forms Marketing Automation Integration (MAI) connector lets you connect [Optimizely form fields](docId\:KVnsZDpxrq5wlYjBejT3W) to a Pardot database. See also: [Marketing Automation](docId\:lw3KOQMT4bS88DycCZNow).

:::hint{type="info"}
**Note**

A developer must install the Forms Marketing Automation connector and the Pardot connector.
:::

1. In the app selector, select **Addons > Marketing Automation**.
2. Click **Create**. The **Add connector** view displays.

   ![Add Pardot connector](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/55frDvimTW8Vt8y-6BA0u-20260720-145632.png)
3. Select **Pardot** from the list of the available connectors. The Pardot configuration settings screen displays. Specify the following information.

   :::hint{type="danger"}
   **Warning**

   After you upgrade to Pardot connector version 6, delete the older configurations from the Admin view (click **Remove**) and save new credentials. Older configurations will no longer work.
   :::

   ![Pardot configuration settings screen](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/wAC-HBWwT8blVMFDJJcsf-20260720-145632.png)

   - **Connector Name** – Enter a name for the connector.
   - **Email** – Enter the user name of the Salesforce administrator.
   - **Password** – Enter a password.
   - **Security Token** – Enter the security token associated with your Salesforce administrator.
   - **Consumer Key** – Associated with your Salesforce Connected App. See [Set up a connected app](https://developer.salesforce.com/blogs/2020/11/setting-up-salesforce-oauth-for-pardot-api-authentication.html) (a section in a Salesforce blog post called *Setting Up Salesforce OAuth for Pardot API Authentication*).
   - **Consumer Secret** – Associated with your Salesforce Connected App. See [Set up a connected app](https://developer.salesforce.com/blogs/2020/11/setting-up-salesforce-oauth-for-pardot-api-authentication.html) (a section in a Salesforce blog post called *Setting Up Salesforce OAuth for Pardot API Authentication*).
   - **Pardot Business Unit ID** – Enter the Pardot business unit you want; each Salesforce organization can support more than one Pardot business unit.

     :::hint{type="info"}
     **Note**

     You must provide the identifier starting with `0Uv` and must be 18-characters long. To find the **Pardot Business Unit ID**, use **Setup** in Salesforce and enter `Pardot Account Setup` in the **Quick Find** box. If you cannot access the Pardot Account Setup information, contact your Salesforce Administrator to provide you with the information.
     :::
   - **Api Version** – Select 3 or 4 (default is 4). To determine which API version your Pardot organization supports, see [What is Version 4?](https://developer.pardot.com/kb/api-version-4/)
   - **Multiple submissions in the same session** – Select **Create new entity** or **Update previously created entity**.
   - **Salesforce Account Type** – Select **Production** or **Sandbox**.
   - **Pardot Account Type** – Select **Production** or **Demo**.

   :::hint{type="info"}
   **Note**

   You can have multiple instances of the same connector. For example, if you have marketing teams in separate regions, you can have more than one Pardot connector such as *Pardot - Europe*, *Pardot - US*, and *Pardot - APAC*.
   :::
4. Click **Save**.
5. [Create a form](docId\:SR3I1aAJbh0TU85e6pNQk) on a page.
6. Click **All Properties** on the form.
7. Open the **Mappings** tab.
8. Select the **Prospect** database to which you map the form fields from the **MA System Database** drop-down field.

   ![Pardot connector mapping](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/TuuUGNn7hMb0tOz-74_3J-20260720-145632.png "Pardot connector mapping")
9. Click **Publish**.
10. On the form, select **Edit** from a form field's context menu.
11. Open the **Extra field mappings** tab. The database option that you selected earlier displays.
12. Enable the database option and open the associated drop-down list to see the available fields. For example, if your form has a [Text](docId\:dGqSQKV0mgM33Efyrw9v5) field that was configured to capture an email address:

    1. Edit the email text field.
    2. Select the **Extra field mappings** tab.
    3. Select **email** from the drop-down list to map the Pardot database field to the **Email** field on the form.

    ![Mapping a Pardot database field to a form field](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/OznfL5pQnF2bfMvDg3m3--20260720-145632.png "Mapping a Pardot database field to a form field")
13. Repeat steps 10 through 12 for as many fields as you want to map.
14. Click **Publish**.

To test the mapping, go to your form on a published page, fill in and submit the form, and then go to your Pardot provider to verify that the user is added to the Pardot database.

## Retrieve contact data

When a visitor submits the form, the data is sent to the Pardot database. To see who submitted the form, go to **Pardot** > **Prospect** > **Prospect List** and select the contact list.

## Personalize the form using a block

You can personalize a form to show only to a selected group. For information about creating a visitor group and displaying information based on a visitor group, see [Audiences](docId\:rodC2wlhTnWSmd-DJR2_y).

1. From the context menu on the form on the page, select **Personalize**. The **Large content area** dialog box displays.

   ![Personalize Pardot contact](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/5WuIPHxfYwA1H3qc43oVP-20260720-145632.png "Personalize Pardot contact")
2. Click **Everyone** and select a visitor group from the list. The following image shows personalizing the form to show only for people in the *VIP* visitor group.

   ![Personalize Pardot contact](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/tGM9lbFYQ7NoHlohTsAdp-20260720-145632.png "Personalize Pardot contact")

To create a visitor group for a Pardot form, see [Create a visitor group for an MAI connector form](docId:0TrCDHzFBFPQnvrRj-Vka).
