# Multi-Factor Authentication

Multi-factor authentication (MFA) is a security system that requires users to provide multiple forms of authentication in order to access a system, application, or service. This adds an extra layer of security, making it more difficult for unauthorised users to gain access to sensitive information

You can set up Multi-Factor authentication in one of the two ways. Firstly, using any **Authenticator** app capable of generating **Time-based One-Time Password (TOTP)** authentication codes. You can use Google Authenticator or Duo Mobile or any other compatible application to generate the codes. Secondly, You can enable OTP based login via Registered Email Address. Everytime you try to login a OTP will be sent to your registered email and you have to verify it.

### Setup

> To enable Multi-Factor Authentication:

1. Navigate to Your **Hacker Dashboard > Settings > Security.**
2. Choose any one of the Authentication type and Enable it.

<figure><img src="/files/zNp3w5fIRMZ3J4ZAxwQL" alt=""><figcaption></figcaption></figure>

### MFA via Authenticator App

1. Toggle **Enable multi factor authentication via authenticator app**.
2. A modal would pop up on your screen, click on the **Setup** button to initiate MFA process.

<figure><img src="/files/qh4raY6czMXu8RHdu8Kw" alt=""><figcaption></figcaption></figure>

3. You will see a `QR code` and also a `Secret key` on the screen.

<figure><img src="/files/Oev7AFq8noTYIlcV3VzU" alt=""><figcaption></figcaption></figure>

4. You can either scan the `QR code` or enter the `Secret Key` and manually save it on your Authenticator app. Now you would be able to see the`BugBase (username)` account in your app.
5. Click **`Continue`** once you have added your account in the Authenticator app.
6. Enter the 6-digit code from the Authenticator app and click on `Verify`.

<figure><img src="/files/XsA7x1kfIZEORj94v944" alt=""><figcaption></figcaption></figure>

7. After successful verification, you will be logged out from your account and you will be asked to enter the 6-digit OTP every time you are logging in.&#x20;

<figure><img src="/files/XHPhlcJrRRaHTjO31OVt" alt=""><figcaption></figcaption></figure>

### MFA via Email OTP

1. Toggle **Enable multi factor authentication via email**.
2. A modal would pop up on your screen, click on the **Setup** button to initiate MFA process.

<figure><img src="/files/g52EeCoxnlhAJMNsN2jw" alt=""><figcaption></figcaption></figure>

3. A One-Time Password will be sent to your registered email and Enter the OTP to complete the verification process.

<figure><img src="/files/Nk0LI9SevAdvl0qhnfAG" alt=""><figcaption></figcaption></figure>

> You can disable multi-factor authentication as well from **`Settings`** > **`Security`**.


---

# 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.bugbase.ai/bounty-hunter-guide/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.
