# 2 Factor Authentication

1. Make sure you have an authentication app, we use: <https://apps.apple.com/us/app/google-authenticator/id388497605>
2. Go into your Sanji Bot and click "Settings"
3. Click "Security"

<div data-full-width="false"><figure><img src="/files/hO3fPCgIYVbfp3NrjQAI" alt=""><figcaption></figcaption></figure></div>

4. Click "2FA Enabled" button at the top

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

5. Tap to copy the setup key

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

6. Go to your Google Authentication app on your phone and click the + icon in the bottom right corner

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

7. Click "Enter a setup key"

<figure><img src="/files/7jEUjslqwA96t4TS4VEj" alt=""><figcaption></figcaption></figure>

8. Enter an account name (Sanji) and paste your key in

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

9. You should now see a 6 number code that is on a time limit. Each time the little circle completes itself, there will be a new code. COPY this code by tapping it.

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

10. Go back to your Telegram app and paste this code into your Sanji Bot, the proper formatting is just the six numbers with NO SPACES. Example: 357353.
11. BOOM! You have now set up 2FA. By default, we will turn ON protection against PK reveals (private key reveals), and withdrawals! You have the option to turn this on for buys, sells, and burns!

**What does this all mean?**

From now on, when you attempt to reveal your private key, or withdraw funds, you will need to go to your 2FA authentication app and retrieve your code! This prevents hackers/scammers from draining your wallet if they get access to your Telegram.

<figure><img src="/files/DKZzISzwogOxKoDr87xv" 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.sanjibot.io/safety/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.
