# Migrate from Legacy Messaging

> \[!NOTE]
>
> Flex Conversations requires Flex UI 2.0. If you are on Flex UI 1.x, please refer to [Chat and Messaging](/docs/flex/admin-guide/core-concepts/chat-and-messaging) pages.

To migrate an account from Flex Legacy Messaging to Flex Conversations, start by going through the **[Conversations prerequisites](/docs/flex/admin-guide/setup/conversations/prerequisites)** and updating your account configuration accordingly.

## Migration steps for each Address

Each Address on Flex Legacy Messaging can be migrated over to Conversations at its own time and individually.

> \[!WARNING]
>
> The following is only available for migrating Addresses without production traffic.

Before migrating a Legacy Address over to Conversations, note the following:

* Long-lived is not supported out-of-box in Flex Conversations.
* If you are using a Studio Flow, make sure the "Incoming Conversation" trigger is mapped.
* If you have a webhook configured to handle the contact, the code in your webhook endpoint may need to be migrated.

  * If you are creating a Task, you should instead create an Interaction. See [Interactions API](/docs/flex/developer/conversations/interactions-api) for more information.
  * If you are invoking any Programmable Chat or Proxy API, you may need to replace it with [Conversations API](/docs/conversations/api) invocations.
* If you are using integration type "Task", you may want to look at how to implement the outbound use cases by referring to [creating outbound interactions](/docs/flex/developer/conversations/send-outbound-messages-via-sms-and-whatsapp). Flex Conversations doesn't currently support the Task integration type - you should replace it with Studio or webhook.

## Steps to migrate an Address

1. Make sure the Address has no production traffic.
2. To remove the Legacy Messaging Address:
   1. From Twilio Console, go to **Flex** > **Channel management** > **Messaging** > **Legacy**.
   2. Find the Address and delete it.
3. Create a new Conversations Address for that same Phone Number or WhatsApp Number (see the steps to create an [SMS](/docs/flex/admin-guide/setup/conversations/manage-conversations-sms-addresses) or a [WhatsApp](/docs/flex/admin-guide/setup/conversations/manage-conversations-whatsapp-addresses) Conversations address via the Flex Console or the API).
