# Logging in and 2FA

{% hint style="info" %}
**What is 2FA?**&#x20;

Two-factor authentication (2FA) is an authentication method that provides an additional layer of security. It is also known as two-step verification.

Unlike single-factor or password based systems which only ask users for their username and password, 2FA requires the user to provide one more verification factor to log in to an account or system
{% endhint %}

<figure><img src="https://421730407-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZlIFO6iBZyMYY9s2ejTf%2Fuploads%2FmXOs9xd1AZu0vqa6nBKL%2FScreenshot%202024-10-29%20at%2015.11.46.png?alt=media&#x26;token=969d4785-bd69-4c2b-b3eb-944652397ada" alt=""><figcaption></figcaption></figure>

## How does it work?

2FA requires all users to provide the code sent to their mobile application

<details>

<summary>Log into Level2</summary>

Log in using your username and password

</details>

<details>

<summary>Open mobile device </summary>

Open your mobile device when you receive the prompt and make a note of the code. If a code has not been generated use the "Resend code" option.

</details>

<details>

<summary>Enter the 2FA code</summary>

Enter the 4 digit code and click Submit for access

</details>


---

# 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://trylevel2.gitbook.io/getting-started/technical/logging-in-and-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.
