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

# Set Up 2FA for Online Accounts

> Set up OTP for your online accounts with Locker to add an extra layer of security (2FA) when signing in to your accounts.

Set up OTP for your online accounts with Locker to add an extra layer of security (2FA) when signing in to your accounts.

## What is OTP?

OTP (One-Time Password) is a common form of two-factor authentication (2FA) that enhances access security by requiring two login steps -- in addition to your username and password -- to verify your identity.

You can use the Locker app on your mobile device as an authenticator app to sign in to accounts where you have enabled 2FA. Specifically, Locker can generate, store, and display a unique six-digit security code that you will need to complete the login process for your online accounts.

<Note>
  You can use Locker as an authenticator app to sign in to your Locker account as well.
</Note>

Locker Authenticator is only available with websites or services that offer a two-step verification process. To start setting up 2FA with Locker:

1. Open the website or service you want to secure with two-step verification.
2. Go to **Account Settings** > **Security** and follow the steps to enable 2FA. At the end of the process, you will receive a QR code or a setup key to configure 2FA.
3. You can then choose to scan the QR code or enter the setup key to enable 2FA for that account.

## Generate OTP on the Web App

The Locker web app only supports setting up 2FA using a setup key.

### When adding or editing a Password

<Steps>
  <Step title="Open the Password form">
    Log in to your Locker account on the Web Vault, then choose to add a new password or edit an existing one.
  </Step>

  <Step title="Add a new OTP">
    On the Password form, fill in the required information, then scroll to the **2FA Settings** section > select **Add New OTP**.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-add-otp.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=af6ef88cb200f3f07cc56f15b95f8703" alt="Add new OTP on Web Vault" style={{display: 'block', margin: '0 auto'}} width="704" height="823" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-add-otp.png" />
  </Step>

  <Step title="Enter the setup key">
    Enter the setup key obtained in the previous step into the field that Locker requires.
  </Step>

  <Step title="Confirm">
    Locker will provide a 6-digit code. Copy this code, go back to the website you want to link, enter the code, and click confirm.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-otp-code.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=80398c1e6cc367054e73ed7e214a535f" alt="6-digit OTP code" style={{display: 'block', margin: '0 auto'}} width="485" height="264" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-otp-code.png" />
  </Step>
</Steps>

### By setting up 2FA from the Authenticator page

<Steps>
  <Step title="Open the Authenticator tab">
    Log in to your Locker account on the Web Vault, then go to the **Authenticator** tab on the sidebar.
  </Step>

  <Step title="Set up 2FA">
    Set up your first 2FA for any of your online accounts by clicking **Set up 2FA**.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-authenticator-tab.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=f724505519d836146f4403b1704f41b2" alt="Authenticator tab on Web Vault" style={{display: 'block', margin: '0 auto'}} width="1537" height="615" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-authenticator-tab.png" />
  </Step>

  <Step title="Enter information">
    Enter the OTP name and the setup key into the fields that Locker requires. Click **Add**.
  </Step>

  <Step title="Confirm">
    Locker will provide a 6-digit code. Copy this code, go back to the website you want to link, enter the code, and click confirm.
  </Step>
</Steps>

### Link an existing OTP to your password

If you have already added an OTP from the Authenticator tab, you can link it to a new or existing password.

<Steps>
  <Step title="Open the Password form">
    Log in to your Locker account on the Web Vault, then choose to add a new password or edit an existing one.
  </Step>

  <Step title="Select an existing OTP">
    On the Password form, fill in the required information, then scroll to the **2FA Settings** section > select **Set up from an existing OTP**.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-link-existing-otp.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=4fdce5bf0497d48a029cd9ac734e2de8" alt="Link an existing OTP" style={{display: 'block', margin: '0 auto'}} width="704" height="823" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-web-link-existing-otp.png" />
  </Step>

  <Step title="Find and select the OTP">
    Scroll down to find, or type a keyword to search for the OTP from the list. The selected OTP should correspond to your account's login information. Then click **Add/Update**.
  </Step>
</Steps>

## Generate OTP on the Locker Mobile App

### When adding or editing a Password

<Steps>
  <Step title="Open the Password form">
    Open the Locker app, then choose to add a new password or edit an existing one.
  </Step>

  <Step title="Add a new OTP">
    On the Password form, fill in the required information, then scroll down to the **2FA Settings** section > select **Add New OTP**.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-mobile-add-otp.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=6447e0d4d988ec24de94a3aa00a55281" alt="Add new OTP on mobile" style={{display: 'block', margin: '0 auto', maxWidth: '400px'}} width="512" height="762" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-mobile-add-otp.png" />
  </Step>

  <Step title="Scan QR code or enter key">
    You can choose to **Scan QR Code**, or enter a setup key:

    * **Scan QR Code**: Select Scan QR Code. Point your device's camera at the QR code. You will first be prompted to grant Locker access to your device's camera. Tap **OK** to allow.
    * **Enter Setup Key**: Select Enter a setup key. Enter the setup key into the fields that Locker requires. Tap **Save**.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-mobile-scan-qr.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=d66d6bb07880f61ae31a54808d597b44" alt="Scan QR code on mobile" style={{display: 'block', margin: '0 auto', maxWidth: '400px'}} width="512" height="1109" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-mobile-scan-qr.png" />
  </Step>

  <Step title="Confirm">
    Locker will provide a 6-digit code. Copy this code, go back to the website you want to link, enter the code, and tap confirm.
  </Step>
</Steps>

### By setting up 2FA from the OTP tab

<Steps>
  <Step title="Open the OTP tab">
    Log in to Locker on the mobile app, then open the **OTP** tab > tap the **Plus** icon in the top-right corner.
  </Step>

  <Step title="Scan QR code or enter key">
    You can choose to scan a QR code or enter a setup key.
  </Step>

  <Step title="Confirm">
    Locker will provide a 6-digit code. Copy this code, go back to the website you want to link, enter the code, and tap confirm.
  </Step>
</Steps>

### Link an existing OTP to your password

<Steps>
  <Step title="Open the Password form">
    Open the Locker app, then choose to add a new password or edit an existing one.
  </Step>

  <Step title="Select an existing OTP">
    On the Password form, fill in the required information, then scroll to the **2FA Settings** section > tap to select an option.
  </Step>

  <Step title="Find and select the OTP">
    Search for the OTP in the **Select existing OTP** list. The selected OTP must match your account's login information. Then tap **Save** > **Update**.
  </Step>
</Steps>

## Generate OTP on the Browser Extension

### When adding or editing a Password

<Steps>
  <Step title="Open the Password form">
    Log in to the Locker extension, then choose to add a new password or edit an existing one.
  </Step>

  <Step title="Open 2FA Settings">
    On the Password form, fill in the required information, then scroll to the **2FA Settings** section.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-extension-setup.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=6a65aa31631868e04decd079cdd47eb7" alt="2FA settings on the extension" style={{display: 'block', margin: '0 auto'}} width="506" height="549" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-extension-setup.png" />
  </Step>

  <Step title="Scan QR code or enter key">
    You can choose to set up a new 2FA using a QR code or a setup key.

    * **Scan QR Code**: Select the Scan QR Code option. Drag and drop to scan the QR code. Select **Use Image**.
    * **Enter Setup Key**: Select **Enter Setup Key**. Enter the title and verification code. Select **Save**.

    <img src="https://mintcdn.com/locker/DGmCYM1Opanpr-4x/images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-extension-scan-qr.png?fit=max&auto=format&n=DGmCYM1Opanpr-4x&q=85&s=d3391e7f4e2f0afb5df5d6833f3aa2e8" alt="Scan QR code on the extension" style={{display: 'block', margin: '0 auto'}} width="244" height="216" data-path="images/en/locker-password-manager/general-features/built-in-add-on-features/2fa-extension-scan-qr.png" />
  </Step>

  <Step title="Confirm">
    Locker will provide a 6-digit code. Copy this code, go back to the website you want to link, enter the code, and click confirm.
  </Step>
</Steps>

### By setting up 2FA from the OTP tab

<Steps>
  <Step title="Open the OTP tab">
    Log in to the Locker extension. Click the **OTP** tab.
  </Step>

  <Step title="Add OTP">
    Click the **Plus** icon in the bottom-left corner and select **Scan QR Code** or **Enter Setup Key**.
  </Step>

  <Step title="Confirm">
    Locker will provide a 6-digit code. Copy this code, go back to the website you want to link, enter the code, and click confirm.
  </Step>
</Steps>

### Link an existing OTP to your password

<Steps>
  <Step title="Open the Password form">
    Log in to the Locker extension, then choose to add a new password or edit an existing one.
  </Step>

  <Step title="Select an existing OTP">
    On the Password form, fill in the required information, then scroll to the **2FA Settings** section. Click the dropdown, then select **Set up from an existing OTP**.
  </Step>

  <Step title="Find and select the OTP">
    Search for the OTP in the dropdown list. The selected OTP must match your account's login information. Then click **Save/Update**.
  </Step>
</Steps>

<Note>
  Typically, the code is refreshed every 30 seconds as a security measure.
</Note>
