# 2FA Setup

<figure><img src="/files/xz83lCMG2tH6nAeBD5Sm" alt=""><figcaption><p>2FA end-to-end setup in under 30 seconds 🏃</p></figcaption></figure>

### How to Set Up 2FA

1. **Navigate to the Security Config Section**
   * In BONKbot, go to **Settings** > **Security Config** and select the option to set up **Two-Factor Authentication (2FA)**.
2. **Generate Your 2FA Key**
   * BONKbot will display a QR code and a backup key. This information is required to link your account with your authenticator app.
3. **Add BONKbot to Your Authenticator App**
   * Open your preferred authenticator app (e.g., Google Authenticator, Authy).
   * If using Google Authenticator, tap the plus button in the bottom right of the app and either:
     * Select "Scan a QR code" and scan the QR code displayed in BONKbot.
     * Select "Enter a setup key" and manually enter the backup key provided, ensuring the type is set to **Time-based**

<div align="center" data-full-width="false"><figure><img src="/files/InbGPOanKH5xTBpogdiT" alt="" width="188"><figcaption><p>Add Account on Google Authenticator </p></figcaption></figure></div>

4. **Enter the Verification Code**
   * After adding BONKbot to your authenticator app, a 6-digit verification code will be generated. Return to BONKbot and enter this code to complete the setup process.
5. **Confirmation**
   * Once the correct code is entered, 2FA will be successfully enabled for your BONKbot account.

<figure><img src="/files/O6vLVHy47FivMygLMWNs" alt="" width="180"><figcaption><p>Congrats! You've enabled 2FA 🎉</p></figcaption></figure>

### Managing 2FA in BONKbot

* **Backup Key:** Save your backup key securely. If you lose access to your authenticator app, this key allows you to re-link your account.
* **Disabling 2FA:** To disable 2FA, return to the **Security Config** section and follow the prompts to turn it off. You will be required to enter a verification code to confirm the action.

### Why Enable 2FA?

* **Enhanced Security:** Protects your account from unauthorized access.
* T**ransaction Protection**: Use 2FA to protect sensitive actions, like private key exports and withdrawals.
* **Easy Recovery:** Use the backup key to regain access if needed.

BONKbot makes securing your account simple and effective with 2FA, ensuring peace of mind while you trade confidently.&#x20;


---

# 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.bonkbot.io/security/2fa-setup.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.
