HomeDev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideGitHubNuGetDev CommunitySubmit a ticketLog In
GitHubNuGetDev CommunitySubmit a ticket

Connect for Pardot

The Optimizely Connect for Pardot add-on is part of Optimizely Connect for Marketing Automation, which connects Pardot with Optimizely Forms, letting marketers collect visitor data, and pass that on to be used with Pardot.



Install the Connect for Pardot MA connector through the NuGet package EPiServer.MarketingAutomationIntegration.Pardot. See Add-ons platform compatibility for supported Optimizely versions.


To configure your Optimizely website to use Pardot:

  • You need a Pardot license with a username, password, and API User Key.
  • You need to configure the connection of form fields to Pardot to send data from the specified fields to Pardot.
  • In your Pardot user account, you need Marketing User permission.

These configurations are described in Pardot connector for Optimizely in the Optimizely User Guide.

Encrypt credentials

Credentials are encrypted and saved based on one of the following options:

  • MAICryptoKey (AES encryption with a SHA256-computer hash based on the value of the key)
  • machineKey of the server in web.config.



For DXP instances, use MAICryptoKey.

If you choose to use machineKey configuration, you should specify a machineKey in the web.config of your site so that the same machine key is used on the new server when you deploy it to a different server.



If you neglect to specify a machineKey in the web.config, the credentials are removed when the site on the new server is accessed for the first time, in which case you need to save credentials again through the configuration screen.

If the credentials are already encrypted using machineKey in an existing site, and you add the MAICryptoKey setting, then the credentials are deleted, and you must re-enter them.

Similarly, if the encryption uses MAICryptoKey first and then you decide to use machineKey encryption (by deleting the MAICryptoKey setting), then the credentials are deleted and must be re-entered.