Trying to set up a new iPhone can be time consuming in a variety of ways, and with some third-party apps, there’s not a way to transfer your data easily. That used to be the case for popular privacy-focused messaging app Signal, until now. Read along for how to transfer Signal messages to a new iPhone.

Signal detailed the ability to transfer your whole account and message history in a blog post today (via the Verge). Just like Signal messages being end-to-end encrypted, the new account transfer feature for iPhone and iPad is, too.

How to transfer Signal account and message on iPhone:

  • Have your old and new iPhone/iPad handy
  • Download Signal on your new iOS device
  • Open up Signal on your new iPhone/iPad and start the setup process
  • After entering your phone number in the Signal app on your new device, choose Transfer from iOS device
  • On your old iPhone or iPad look for the migration prompt and confirm you want to start the transfer
  • Use your old device to scan the QR code shown on your new device
  • You should be all set in a few minutes 😄

Signal notes: “Once the transfer is complete, your existing device will clear its Signal data, and you can immediately begin using Signal on the new device.”

For those curious, here’s more about how the process works:

  • Mac 101: the best way to clean your MacBook’s screen [Video]
  • You can now use your Canon EOS camera as a Mac webcam, here’s how it works
  • How to make phone calls on a Mac
  • Improve your work from home situation with a Thunderbolt 3 or USB-C display

Signal generates a unique keypair for the encrypted device-to-device connection, and a MAC is embedded in the new device’s QR code so your existing device can verify the connection.

The QR code itself does not include any sensitive information. If someone else is in the same room and dives across the table or races to scan it first, the worst-case scenario is that they could start transferring their data to the new device before you.

At that point it would be easy to simply erase the app and install it again — and possibly erase your friendship with the individual who couldn’t keep their scans to themselves.