Two-factor authentication through an authentication app can only be turned on using the Instagram app for Android and iPhone.
When you turn on
two-factor authentication, you're asked to choose either text message (SMS) codes or a third-party authentication app as your primary security method. A third-party authentication app (such as Duo Mobile or Google Authenticator) can be used to generate login codes that help us confirm it's you when you log in from a new device for the first time.
To use a third-party authentication app for login codes:
Tap

or your profile picture in the bottom right to go to your profile.
Tap

in the top right, then tap
Settings.
- Tap Security, then tap Two-Factor authentication.
- If you haven't already turned two-factor authentication on, tap Get started.
- Tap
next to Authentication app, then follow the on-screen instructions. - Enter the confirmation code from the third-party authentication app to complete the process.