# OTP manager for two-factor authentication

You can use the Hideez Key for two-factor authentication. For this, you need to complete the account data not only with login and password but also with the secret key for generating OTP.

### Set up two-factor authentication for your Gmail account

#### Step 1

Visit the <https://mail.google.com/> account login page. \
Place the cursor in the login field and press either the combination **CTRL + ALT + L** or **twice on the Hideez Key button**. If you do not have such an account, then you will be asked to create one.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/KhmxX8O2FK68RMVqj2p1/1.png)

Click **Create New Account**.

#### Step **2**

In the Hideez Client account creation window, if necessary, change the automatically added account name, specify a username and password. Save the data.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/OnENh4Th7RyFvPoTtftI/image.png)

#### Step 3

Enable two-factor authentication according to [Google’s instructions](https://support.google.com/accounts/answer/1066447?hl=en\&co=GENIE.Platform%3DAndroid\&oco=0).&#x20;

#### Step 4

Add a secret key to generate OTP passwords in the account data.

To do this, go to account editing mode and&#x20;

**OR**&#x20;

when setting up Google Authenticator, click **CAN'T SCAN IT?**\
&#x20;&#x20;

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/QRk1MUQCEYLwenvs1cI4/5.jpg)

&#x20;&#x20;

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/SHvsYVqpv5Ij6fZ2elDu/6.jpg)

Enter the seen number-letter code in the Hideez Client in the OTP field and save it by clicking on the corresponding icon.\
&#x20;&#x20;

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/ujJHkbdByIteFhUNIG4S/4.jpg)

**OR**&#x20;

When the QR code is displayed at the Google Authenticator setup stage, click on the corresponding icon for scanning the QR code and then save it in the Hideez Client.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/QTDE7SY1N1bw83w06r9C/7.jpg)

Then click on the **Next** button. Place the cursor in the form and press either **CTRL + ALT + O** or **four times on the Hideez Key button**.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/e466jvdUem3dSJjmmqOg/Untitled-5.jpg)

Click **Verify**.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/BwmvvPJM06VLRiYHHC3v/Untitled-6.jpg)

### Sign in to your Gmail account with two-factor authentication

#### Step 1

Visit the <https://mail.google.com/> account login page. Place the cursor in the login field and press either **CTRL + ALT + L** or **twice on the Hideez Key button**. \
Your login will be entered.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/fqTYAt1CIqyGOLDrl6h6/8.jpg)

#### Step 2

In the next step, position the cursor in the password entry field and press either **CTRL + ALT + P** or **three times on the Hideez Key button**. \
Your password will be entered.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/DeSr7BJLNEsxTPHs2pii/9.jpg)

#### Step 3

Indicate whether you want to always pass two-factor authentication on this computer or not - clear or leave the checkbox **Don’t ask again on this computer** and also select **Try another way** and **Get a verification code from the Google Authenticator App:**

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/DOT9QzBTnTIPPTezSUDF/10.jpg)

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/BKVAR4Iy21UQmBjqoX9c/11.jpg)

#### Step 4

Place the cursor in the code entry field and press either **CTRL + ALT + O** or **four times on the Hideez Key button**. \
Your OTP will be entered.

![](https://content.gitbook.com/content/RdTysrljwe610dPFG7tE/blobs/4ctGoOoPxZhe2gGvOBaw/12.jpg)

Click the **Next** button. Now you are logged in.

You created an account with OTP and passed two-factor authentication at gmail.com.
