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

The Optimizely Connect for Acoustic (formerly Watson Marketing, formerly Silverpop) add-on is part of [Optimizely Connect for Marketing Automation](🔗).

## Prerequisites

An Optimizely Content Management System (CMS) installation with Optimizely Forms, and the required Marketing Automation connector components.

## Install

The **Connect for Acoustic (Silverpop) MA connector** is installed through the NuGet package [EPiServer.MarketingAutomationIntegration.Silverpop](🔗). See [Add-ons platform compatibility](🔗) for supported Optimizely versions.

## Configure

To configure your Optimizely website to use Acoustic (Silverpop), you need a Acoustic (Silverpop) license that provides you with a username, password, and company name. You also need to configure the connection of form fields to Acoustic (Silverpop), so that data from the specified fields can be sent to Acoustic (Silverpop).

These configurations are described in [Acoustic (Silverpop) connector (CMS 11)](🔗).

## Encrypt credentials

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

  • **MAICryptoKey** (AES encryption with an 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 when you deploy it to a different server, the same machine key is used on the new 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 the **MAICryptoKey** setting is added, then the credentials are deleted and must be re-entered.

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.

## Customizing Acoustic

This section describes how to customize mailing templates when using the Optimizely connect for Acoustic (Silverpop) add-on.

Acoustic (Silverpop) provides the base class SilverpopMailingPageBase to create a mailing template, which contains all required properties. By inheriting it, you can add custom properties to construct a mailing template.

The following code samples apply to a web form on the [Optimizely Content Management System (CMS) "Alloy" sample site](🔗).

  1. Create the content type page as follows:

  2. Create the template file with the following markup:


    In code behind it should look as follows:

  3. Compile and run your project.

### Customize opt-in/opt-out functionality

You can develop opt-in and opt-out functionality for the mailings with the Optimizely Connect for Marketing Automation add-on.

The following web forms page works with the Acoustic (Silverpop) provider API and shows how you can opt in, opt out, or just check the status for the current user for the marketing automation add-on.

_Related blog post:_ [Creating multiple instances of the same connector](🔗) by Jason Masterson