# Enable the two-factor authentication

Two-factor authentication (2FA) is an additional security feature that requires users to enter a six-digit verification code when logging into their accounts. This greatly enhances account security and effectively prevents unauthorized access.&#x20;

For the safety of your account, we recommend setting up Two-factor authentication immediately after registering to provide an extra layer of protection.

**How to link Two-factor authentication？**

1. Enter UniSat [Developer Center](https://developer.unisat.io/dashboard), click on the avatar on the right side of the page and select '**2FA Setting**' from the dropdown menu.

<figure><img src="/files/0X4oQamAWkZnmF0NeNbR" alt=""><figcaption></figcaption></figure>

2. Before binding 2FA, you need to confirm your email to ensure the operation is authorized by you. Click '**Send Code**' on the page, input the verification code received in your email, and click '**Submit**' to enter the 2FA binding page.

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

3. Follow the instructions on the page to first download and install an **authentication app**.&#x20;

iOS: Search **Google Authenticator** in the App Store

Android:  Search **Google Authenticator** in Google Play or use [this download link](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2)&#x20;

Then, use the authenticator app to scan the QR code on the page and enter the six-digit verification code in the authentication app.&#x20;

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

4. Now you are done with 2FA! And of course, you can also disable 2FA if needed.

<figure><img src="/files/iX3DMVQWvqKyxCkYLfsm" 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.unisat.io/developer-support/enable-the-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.
