> ## Documentation Index
> Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.firebolt.io/feedback

```json
{
  "path": "/guides/security/enabling-mfa",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

> Learn about how to enable and disable multi-factor authentication in Firebolt.

# Multi-factor authentication

Enable multi-factor authentication (MFA) as an additional layer of security to protect data that is accessible through Firebolt. With MFA enabled, users must authenticate with a one-time code generated by their mobile device upon login. MFA can be enabled per login.

<Note>
  Enabling MFA for a login requires the org\_admin role.
</Note>

## Enable MFA for a login

### SQL

To enable MFA for a login using SQL, use the [ALTER LOGIN](/reference-sql/commands/access-control/alter-login) statement. For example:

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
ALTER LOGIN "alex@acme.com" SET IS_MFA_ENABLED = TRUE;
```

Multi-factor authentication can also be set for new logins, with the [CREATE LOGIN](/reference-sql/commands/access-control/create-login) command. For example:

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
CREATE LOGIN "betsy@acme.com" SET IS_MFA_ENABLED = TRUE;
```

### UI

To enable MFA for a login in the UI:

<img src="https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfamanagement.png?fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=c22ad0060c3cac2aae547b29306fa04f" alt="Configure > MFA" data-og-width="3024" width="3024" data-og-height="622" height="622" data-path="assets/images/mfamanagement.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfamanagement.png?w=280&fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=3f85d7b0115b18ce76e3cf89407de731 280w, https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfamanagement.png?w=560&fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=33294edb60853cb0a5b989da1ca14bbd 560w, https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfamanagement.png?w=840&fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=bcf6e4bc17876fd2b6664a6dae206be5 840w, https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfamanagement.png?w=1100&fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=dd178dff446a575f8c19d70de2333c74 1100w, https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfamanagement.png?w=1650&fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=10ecf5b4987b6733870158804261602d 1650w, https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfamanagement.png?w=2500&fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=8f9227ceab591be48a2b8befefba9a47 2500w" />

1. Click **Configure** to open the configure space, then choose **Logins** from the menu.

2. Search for the relevant login using the top search filters or by scrolling through the logins list. Toggle on **Is MFA enabled**.

<img src="https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfaenabled.png?fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=0e7298cf9e8cd840a11f6eb4548ce0a4" alt="Is MFA enabled" width="3018" height="614" data-path="assets/images/mfaenabled.png" />

MFA can also be enabled when creating a login, by toggling **Is MFA enabled** in the **Create login** window:

<img src="https://mintcdn.com/firebolt/Hc-k8wiP5Rcc9bZ2/assets/images/mfaloginenabled.png?fit=max&auto=format&n=Hc-k8wiP5Rcc9bZ2&q=85&s=4b000c902887668ef1d96274d063d973" alt="Enable MFA" style={{"width": "500px"}} width="1398" height="758" data-path="assets/images/mfaloginenabled.png" />
