# How to Enable 2-Factor Authentication

## Why Enable 2-Factor Authentication

2-Factor Authentication heightens account security as it generates a 6-digit code on a mobile device, that continuously regenerates every 30 seconds to improve account security

We recommend enabling 2 Factor Authentication on your account, particularly for Community Admins and Owners as they tend to be at higher risk of hacking attempts.

## How to Enable 2-Factor Authentication

1. Head to the Portal
2. Select "Preferences" from the Nav Bar
3. Underneath "Your Discord ID" select "Enable 2 Factor Auth"
4. Once loaded you'll be prompted with a box where you need to scan a QR code using your Authenticator app such as Google Authenticator, Microsoft Authenticator or another third-party application.
5. Once the QR code is scanned it will add a 6-digit code to your authenticator app. You need to enter the 6-digit code into the box and click confirm.
6. Once confirmed, you've successfully added 2 Factor Authentication to your account!


---

# 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.therocketcad.com/how-tos/portal/how-to-enable-2-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.
