> ## Documentation Index
> Fetch the complete documentation index at: https://help.smile.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Migrate to the new Attentive integration

> Step-by-step instructions for migrating your Attentive account from the old Smile integration to the new one.

## What's changing

Two versions of the Smile and Attentive integration exist: the old integration and the new integration. The old integration is being phased out in favour of a new integration with enhanced functionality, syncing speed, security, and other usability benefits.

| | Old integration | New integration |
| :- | :- | :- |
| **Name** | `Smile.io` | `Smile: Loyalty & Rewards` |
| **Loyalty fields** | ⚠️ Synced once daily | ✅ Synced right away |
| **Loyalty events** | ❌ Not supported | ✅ Synced right away |
| **How you connect** | ⚠️ Copy & paste an API key | ✅ One-click sign-in |
| **Connection security** | ⚠️ Key never expires | ✅ Access refreshes automatically |
| **New features in future** | ❌ | ✅ |

## How to migrate

Migrating from the old integration to the new integration is easy and involves only a few steps:

### 1. Install the new integration

In Smile Admin, install the [new Attentive integration](https://app.smile.io/integrations/attentive). Follow the prompts to authorize the connection between your Smile and Attentive accounts.

### 2. Turn on integration features

The new integration has two features that must be individually turned on once the integration is installed. To turn them on, visit the [integration settings page](https://app.smile.io/integrations/attentive) in Smile Admin and follow the instructions below.

1. For the **Customer sync** feature, click **Turn on**.
2. For the **Loyalty events** feature, click **Turn on**.

> [!NOTE]
>
> The **Customer sync** feature performs an initial sync of all your customers, so it may take some time to complete if you have a large number of customers. Do not proceed to the next step of the migration until the initial sync of all your customers has finished.

### 3. Update journeys and segments

The old integration syncs both a `smileVipTierId` and `smileVipTierName` field, while the new integration syncs only a `smileVipTierName` field. As such, you'll need to review any journeys or segments you've created in Attentive to ensure they only rely on `smileVipTierName`.

For each of your loyalty journeys in Attentive:

* Look for any branching steps that use `smileVipTierId` and update them to use `smileVipTierName` instead
* Check for any email or SMS messages that display a customer's `smileVipTierId` as part of the body or text, and update them to use `smileVipTierName` instead

For each of your loyalty segments in Attentive:

* Look for any conditions that use `smileVipTierId` and update them to use `smileVipTierName` instead

### 4. Uninstall the old integration

Once all of your journeys and segments have been updated, it's safe to uninstall the old integration.

1. In Attentive, open the [App marketplace](https://ui.attentivemobile.com/integrations).
2. Click on the **Installed by you** tab.
3. Click the `Smile.io` integration. Don't click `Smile: Loyalty & Rewards`.
4. Click into the **Settings** tab, and in the **Secret Key** field, click **Show**.

   ![](https://mintcdn.com/smileio-help-docs/PxpiULfvexrI4rlS/en/integrations/attentive/migrate-show-secret-key.png?fit=max\&auto=format\&n=PxpiULfvexrI4rlS\&q=85\&s=2604e0121fa4c765a5efb1686893ba88)
5. Write down the last 4 characters of the Secret Key, since you'll need it in the next step.
6. Click **Disconnect** to uninstall the integration.

> [!WARNING]
>
> Be sure you only disconnect the old integration, called `Smile.io`. Once you're done, the new integration (called `Smile: Loyalty & Rewards`) should still be visible in the **Installed by you** tab within the Attentive app marketplace.

### 5. Delete API key

The old integration uses a Smile API key to connect with Attentive, and once the old integration has been uninstalled, you can safely delete the API key it was using.

1. In Smile Admin, go to **Settings** > [Developer Tools](https://app.smile.io/settings/developer-tools).
2. In the **Manage API keys** card, look for a row labelled "Attentive" (or similar).
3. Confirm that the last 4 characters of the Secret Key from Attentive match the last 4 characters of the API key in Smile.
4. Click the **trash can icon** to delete the API key.

That's it, you're done! You can review our [Attentive setup article](https://help.smile.io/en/integrations/attentive/setup.md) for more information on how to take advantage of the additional functionality provided by the new integration.

## FAQ

> [accordion] Will migrating break my existing journeys or segments?
>
> No. The new integration uses the same field names as the old integration, such as `smilePointsBalance` and `smileVipTierName`. Your journeys, segments, and messages keep working without any changes.
>
> The only exception is `smileVipTierId`. The new integration doesn't sync this field, so update anything that uses it before you uninstall the old integration. Refer to [step 3](#3-update-journeys-and-segments) for instructions.

> [accordion] Is it safe to have both integrations installed at the same time?
>
> Yes. Both integrations write the same values to the same fields on each customer's Attentive profile, so they don't conflict. The only difference is that the new integration updates the fields right away, while the old integration updates them once a day.
>
> Keeping both installed for a short time lets you switch over without any gap in your data. Once you've finished the migration steps, uninstall the old integration.

> [accordion] Will my customers get duplicate messages while both integrations are installed?
>
> No. Both integrations update the same fields, so each customer still has only one points balance, one VIP tier, and one referral URL in Attentive.
>
> The old integration doesn't send loyalty events, so any journey that starts from a loyalty event only runs once, from the new integration.

> [accordion] Do I need to rebuild my journeys or segments?
>
> No. Your existing journeys and segments keep working with the new integration. You only need to update any that use `smileVipTierId`.
>
> The new integration also sends loyalty events, such as `Smile Points Redeemed` and `Smile VIP Tier Achieved`. You can use these to build new journeys whenever you're ready. Refer to [Attentive data syncing](https://help.smile.io/en/integrations/attentive/data-syncing.md#events) for the full list.

> [accordion] Will I lose any customer data?
>
> No. Your customers' loyalty data stays in Smile, and the existing values on their Attentive profiles stay in place. When you turn on **Customer sync**, the new integration sends the latest values for all your customers.

> [accordion] How long does the migration take?
>
> Most of the steps take only a few minutes. The longest step is the first sync of your customers after you turn on **Customer sync**. If you have a lot of customers, this can take some time. Your data keeps syncing through the old integration while you wait.

> [accordion] What happens if I forget to update a journey that uses smileVipTierId?
>
> After you uninstall the old integration, `smileVipTierId` stops updating in Attentive. Any journey, segment, or message that uses it will then use old VIP tier data. To fix this, update it to use `smileVipTierName` instead.

> [accordion] How do I tell the two integrations apart in Attentive?
>
> In the Attentive app marketplace, the old integration is called `Smile.io` and the new integration is called `Smile: Loyalty & Rewards`.

> [accordion] What happens if I don't migrate?
>
> The old integration is being phased out and won't get any new features. To keep your loyalty data syncing to Attentive, migrate to the new integration as soon as possible.

> [accordion] Does the new integration cost extra?
>
> No. In fact, the old integration required API access (which was only available on the Smile Plus and Enterprise plans), while the new integration is available on any paid Smile plan.

> [accordion] What if something doesn't look right after I migrate?
>
> If you haven't uninstalled the old integration yet, keep it installed. Then [contact Smile support](https://help.smile.io/en/articles/4495476-how-to-get-help-with-smile.md) and we'll help you sort it out.


## Related topics

- [Attentive integration overview](https://help.smile.io/en/integrations/attentive/overview.md)
- [Attentive integration setup](https://help.smile.io/en/integrations/attentive/setup.md)
- [Troubleshoot common Attentive integration issues](https://help.smile.io/en/integrations/attentive/troubleshoot.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.