# Configuring Two-Factor Authentication

Two-Factor Authentication (2FA) is a security feature that adds an additional layer of protection to Welkin user accounts.

To enable Two-Factor Authentication:

* Log into Admin
* Click on 'Settings' in the left vertical menu
* Select the 'Security' tab
* Under 'Two-Factor Authentication', toggle the setting to 'On'
* Click 'Save'

When 2FA is enabled, users will be required to provide an additional verification code when logging in. This code is typically sent via SMS, email, or generated by an authenticator app.

To make 2FA optional instead of required:

* Follow the steps above but toggle to 'Optional'

**Note:** When 2FA is enabled, users should be informed of this change so they can set up their preferred 2FA method.


---

# 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.welkinhealth.com/admin/security/configuring-two-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.
