# Acoustic

Export and target audiences aggregated across marketing platforms.

<!-- this page gets linked from within Acoustic; so don't move it without aliasing or whatever -->

Acoustic (formally IBM UBX) is a marketing cloud and analytics platform. With this integration you can send audience lists and [Custom Events](https://www.airship.com/docs/reference/glossary/#custom_event) from Acoustic to Airship. You can design personalized Airship [Sequences](https://www.airship.com/docs/reference/glossary/#sequence) and [[Automations](https://www.airship.com/docs/reference/glossary/#automation)](https://www.airship.com/docs/guides/messaging/messages/sequences/about/) based on the custom events.

## Acoustic Integration Requirements

* **Accounts**
  1. Acoustic
  1. Airship — Must include messaging
* **Airship project**
  * [Named User](https://www.airship.com/docs/reference/glossary/#named_user) must be enabled for your project.

### Named Users and Acoustic Audiences

To use the Acoustic integration, you must enable named users in Airship. The `named_user_id`
for your named users must be an audience identifier (type) in your Acoustic environment
so that Airship can associate your Acoustic shared audience — exported from Acoustic as
custom events or static lists — with named users.

If your `named_user_id` and Acoustic identifier types do not match,
Airship will not be able to associate custom events or static lists with named users, preventing you
from effectively issuing automated messages or performing other operations based
on your Acoustic audience.

See the [Named Users feature guide](https://www.airship.com/docs/guides/audience/named-users/) or
the [Named
Users
API](https://www.airship.com/docs/developer/rest-api/ua/operations/named-users/) for more information about configuring
named users.

## Understanding Acoustic Deployment Types

When configuring the integration, you will create an endpoint in Acoustic and determine whether you want to export your Acoustic audience as a series of custom events or as a static list. This is the **Deployment Type**.

The **Custom Events** deployment type sends your Acoustic audience to Airship as custom events associated with your named users. This deployment type lends itself to [Automation](https://www.airship.com/docs/reference/glossary/#automation) using the Acoustic-generated custom event as a triggering event.

The **Static Lists** deployment type sends your Acoustic audience to Airship as a static list. You can schedule the deployment of the static list. If you do not rename the list in Acoustic between scheduled intervals, the contents of the list are overwritten during the scheduled interval. For example, if you have a list called `abandoned_cart`, and you deploy it every Tuesday, the contents of the list will change every Tuesday; members of the list will only remain the same if they abandoned their carts for two straight weeks. [Learn more about static lists and audience selection](https://www.airship.com/docs/guides/audience/segmentation/audience-lists/uploaded/).

## Configuring the Acoustic Integration 

In Airship:

1. Next to your project name, select the dropdown menu (
), then **Settings**.
1. Under **Project settings**, select **Partner Integrations**.
1. Select **Acoustic**.
1. Select **Configure** for the inbound integration and follow the onscreen instructions to:
   * Create an authentication token for your project. Acoustic uses the token to communicate with your project in Airship
   * Register an endpoint in Acoustic.

## Syncing Identifiers for Users

To take advantage of Acoustic, you have to determine the Acoustic identifier that you want to associate with named users in your app's audience. Your Acoustic identifier should be the same type of value as your
`named_user_id` in Airship. For example, if your named users are organized by
an account or username for your service, you must select the Acoustic Identifier type
that corresponds the account or username value.

1. Select the options menu next to your new endpoint and select **Edit Endpoint Details**.
1. Go to the **Identifiers** tab and select **Edit** for the `named_user` identifier. > **Note:** You can only edit identifiers once.
<!-- do you need to delete the endpoint if you screw up and start over? -->
1. Set the Identifier type to the identifier that corresponds to the`named_user_id` values for your named users.
1. Select **Save**. You are now ready to share your Acoustic audience with your app.

## Sharing Your Audience with Airship

After you configure your endpoint, you have to determine when and how often to share
your Acoustic audience with your Airship app. Your source audience is unique to your Acoustic environment and use case.

1. Go to the **Audiences** tab in the Acoustic dashboard and select **Share audiences and identifiers**.
1. Select **Share an audience**, then **Next**.
1. Select the Acoustic Source Audience that you want to share with your Airship app, and then select your Airship endpoint as the Destination Audience.
1. In **Create New Audience**, enter a name without spaces for this audience, then select **Next**. The audience name becomes the `name` of your custom event or static list in Airship.
> **Note:** If sharing an audience as custom events, the event name must be entirely lowercase. If the name contains uppercase characters, Airship will not receive the event.

1. Under **Map audience identifiers**, select the **Source identifier** for your audience. This is the value mapped to your named users in Airship.
1. For **Destination identifier**, enter `named_user`, and then select **Next**.
   ![Mapping audience identifiers in Acoustic](https://www.airship.com/docs/images/acoustic-map-audience_hu_7d6ae8b9660f936c.webp)
   
   *Mapping audience identifiers in Acoustic*
1. For **Share audiences and identifiers**, determine the frequency, and then select **Next**. By default, Acoustic shares custom events with Airship as they occur.
   ![Configuring audience sharing frequency in Acoustic](https://www.airship.com/docs/images/acoustic-share-audiences_hu_b2fa273bc0e09a80.webp)
   
   *Configuring audience sharing frequency in Acoustic*
1. To provide destination options, select **Add New Records**, then specify a minimum number of records to share.
   * If you opt to share immediately, Acoustic will share an audience as soon as it meets the minimum threshold.
   * If you share the audience on a schedule, and you do not reach the minimum number of records before the scheduled interval, Acoustic will wait to share audiences and identifiers until the next scheduled interval.
1. Select **Share** to initiate audience sharing with Airship.

## Using Acoustic Custom Events as Automation Triggers

You can use your Acoustic audience as a trigger in Automations and Sequences. As Acoustic shares
custom events with your app, your app will trigger sending messages to associated named users,
providing a powerful, automated way to stay in touch with your audience.

In the *Setup* step in an automation or *Trigger* step in a sequence:

1. Select the **Custom Event** trigger, and specify the name of your custom event. The
custom event name is the same as the *Audience name* in the Acoustic dashboard.
1. Configure the message that you want to send when Airship receives the corresponding
audience of custom events from Acoustic.

See also:

* [Configure Triggers: Custom Event](https://www.airship.com/docs/guides/messaging/messages/sequences/triggers/#custom-event)
* [Automation composer tutorial](https://www.airship.com/docs/guides/messaging/messages/sequences/create-automation/)
* [Create a sequence](https://www.airship.com/docs/guides/messaging/messages/sequences/create/create/)

## Sending a Message to your Acoustic Audience List

If you deploy your Acoustic audience as a static list, you can target that list in the Audience step when sending a message. The name of your list in Airship is the same as the name of your audience set in Acoustic under *Audiences*.

Follow the steps in the [Audience step](https://www.airship.com/docs/guides/messaging/messages/create/#audience) of *Create a Message*. Using the **Target by conditions** or **Target specific users** option, search for and select your list.
