# Multi-factor Authentication

Multi-factor Authentication (MFA) requires a second authentication factor in addition to user name and password sign-in credentials, which adds extra security for your account. With MFA enabled, you'll confirm your identity using both your password and your authenticator app. Therefore your account resources will be more secure.

You need to install an authenticator app compliant with the Time-based One-time Password (TOTP) algorithm and supported multiple tokens. You must type a valid verification code from your authenticator app during sign-in.

<div align="left"><figure><img src="/files/wl0GgJsDoejA1avnlXQi" alt="" width="563"><figcaption><p>MFA Verification</p></figcaption></figure></div>

## Prerequisites

* You have installed an authenticator app compliant with the Time-based One-time Password (TOTP) algorithm and supported multiple tokens on your device.
* Each authenticator app assigned to a user must be unique. You can't type a verification code from other's MFA device to authenticate.
* Currently supported MFA authenticator apps for both Android and iOS systems:\
  Twilio Authy Authenticator, Duo Mobile, Microsoft Authenticator, Google Authenticator

## Enable MFA

<figure><img src="/files/THhaSrdIMvO1XguqUkO8" alt=""><figcaption><p>Enable MFA</p></figcaption></figure>

1. Sign in to [zenConsole](https://console.zenlayer.com/dashboard) and go to <img src="/files/OpBVTu9w6b4cLMhp1sjt" alt="" data-size="line"> > **Profile Settings** > **Enable MFA**.
2. Open your authenticator app and scan the QR code. Alternatively, you can type a secret key.<br>

   <div align="left"><figure><img src="/files/B3EAyXJYGvmhE90gxMqe" alt="" width="563"><figcaption><p>Assign Authenticator App</p></figcaption></figure></div>
3. After scanning the code, you will get a one-time password code on you authenticator app. Fill in MFA code from your authenticator app and MFA will be activated automatically.\
   Here we take the Microsoft Authenticator page as an example.

   <div align="left"><figure><img src="/files/CXe7roIaAyU0tRfAnOV2" alt="" width="188"><figcaption><p>MFA Code on Authenticator App</p></figcaption></figure></div>
4. *<mark style="color:green;">(Optional)</mark>* You can disable MFA if you need. After you disable MFA, you can still authenticate with email.


---

# 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://docs.console.zenlayer.com/welcome/platform/account-management/multi-factor-authentication.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.
