# Multi factor Authentication

**Multi-Factor Authentication (MFA)** with **Time-Based One-Time Password (TOTP)** enhances security by requiring users to provide a time-sensitive code in addition to their password when logging in. TOTP codes are generated by an authenticator app, such as **Google Authenticator, Microsoft Authenticator etc.** and change every 30–60 seconds.

### Enabling MFA

In the ViewZen Platform, MFA can be enabled either at the organization level or at the user level. If MFA is enabled at the organization level, users do not have a choice to disable the MFA. However, if MFA is not enabled at the organizaiton level, users do have a choice to enable the MFA for the additional security of their account. The setps to enable the MFA at the organization or the user level are similar.

The following are the steps to enable MFA in ViewZen.&#x20;

{% stepper %}
{% step %}

#### Enable MFA

MFA can be enabed from settings -> My Organization -> <> Policies -> Edit
{% endstep %}

{% step %}

#### Scan QR code

If MFA is enabled, a QR code is displayed at setup or during the next login, which users can scan using an authenticator app.
{% endstep %}

{% step %}

#### Enter Verification Code

Two codes have to be entered to complete the setup. Any two consecutive TOTP codes generated by authenticator app can be entered by the user to complete the setup. If both the codes are correctly entered and authenticated, the application gets registered in the Authenticator App.

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2FvywXp3KarQYXRQC6wtbI%2Fmfa.jpg?alt=media&#x26;token=b6f652d7-e483-41af-9d59-4489dafc8312" alt=""><figcaption><p>Steps 1 to 3</p></figcaption></figure>
{% endstep %}

{% step %}

#### Authentication at Login

During future logins, users must enter the TOTP code generated by the app in addition to their password.

<figure><img src="https://2529980633-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK8cCKBpIeUsWEwOw3Fbj%2Fuploads%2FXQrHZnjXVmIBYX7tbsEp%2Fmfaatlogin.jpg?alt=media&#x26;token=0aec1ed5-3fb0-4047-858d-547dc2d6cf26" alt=""><figcaption><p>MFA at login</p></figcaption></figure>

{% endstep %}
{% endstepper %}


---

# 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://viewzenlabsug.gitbook.io/userguides/viewzen-accounts/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.
