Turn it on
Go to Settings › Security.
In Two-step verification, enter your password under Confirm your password and click Set up two-step verification.
Scan the QR code with an authenticator app such as 1Password, Google Authenticator or Authy.
Can't scan it? Use the key shown under Can't scan? Enter this key manually:.
Enter the 6-digit code from the app and click Turn on.
Save your backup codes somewhere safe, then click I've saved them.
Each backup code works once if you lose your phone. They won't be shown again.
Signing in with a code
After your password, enter the code from your authenticator app under Authentication code and click Verify. Tick Trust this device for 30 days to skip the code on your own computer.
Lost your phone? Click Use a backup code instead and enter one of your saved backup codes.
See where you're signed in
Active sessions on the same page lists every device signed in to your account, with the current one marked This device. Click Sign out next to any device you don't recognise, or Sign out all other devices.
Changing your password under Password also signs out your other devices.