# Two-factor authentication (2FA)

Enabling 2FA is a wise step to enhance account security. By requiring team members to use 2FA, you add an additional layer of protection beyond the password!

Here’s how 2FA works:

First factor: the user enters the normal password. \
Second factor: upon successfully entering the password, the user must provide a second piece of information. They need to receive a code within the account application email, and use it to login.

By combining these two factors, 2FA drastically reduces the risk of unauthorized access. Even if someone successfully obtains the password, they cannot log in without.\ <br>

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

## Who can set the 2FA for the organization?

ONLY the owner account can enable or disable the 2FA for the organization. The admin and agent accounts do not have access to view and configure the 2FA settings.

## Didn’t receive the 2FA code

* Click the "Resend" button. The 2FA code will be sent to the email address you registered with on chatalog.
* The 2FA code will expire after 3 minutes. If your code expires, you need to click the "Resend" button to request a new one.
* Check your spam or junk folder for the email. It's possible that it was filtered as spam.
* If you can't find the 2FA code email in your spam or junk folder, you may need to add us to your organization's whitelist.\ <br>

  <figure><img src="/files/8WMXu8r9rL090q5qItLW" alt=""><figcaption></figcaption></figure>


---

# 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.chatalog.ai/settings/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.
