# Two-factor Authentication (2FA)

### How do I set up two-factor authentication (2FA)?

Two-factor authentication (2FA) adds an extra layer of security to your account by requiring a verification code in addition to your password.

We recommend using an authenticator app such as Google Authenticator or Authy for the strongest protection.

#### How to enable 2FA

1. Log in to your Varntix account and navigate to Settings
2. Go to the security section
3. Select enable 2FA
4. A QR code and secret key will be displayed

#### Set up your authenticator app

1. Open your authenticator app (e.g. Google Authenticator or Authy)
2. Select add account
3. Scan the QR code shown in your Varntix dashboard
4. Alternatively, enter the secret key manually&#x20;

#### Complete setup

Once added:

* Your authenticator app will generate a 6-digit verification code
* Enter this code in your Varntix dashboard to confirm setup

2FA will now be enabled on your account.

#### What happens next?

Each time you log in or perform sensitive actions, you will be required to enter a verification code generated by your authenticator app.

This ensures that even if your password is compromised, your account remains protected.

{% hint style="info" %}

### Important security notes

{% endhint %}

#### Back up your recovery key

Store your secret key securely, preferably offline. This is required to restore access if you lose your device.

#### Stay alert to phishing attempts

Varntix will never ask you to share your 2FA code. Do not provide this information to anyone or enter it on unverified sites.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://varntix.gitbook.io/resources/account-and-security/two-factor-authentication-2fa.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
