> For the complete documentation index, see [llms.txt](https://docs.appmysite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmysite.com/account/security/activate-2fa.md).

# Activate 2FA

### How to enable Two-Factor Authentication (2FA)?

You can enable two-factor authentication (2FA) on your AppMySite account to add an extra layer of security. This feature ensures that even if someone has your password, they cannot access your account without the authentication code generated by your authenticator app.

{% hint style="warning" %}
You’ll need an authenticator app like Google Authenticator, Microsoft Authenticator, or Authy to complete this process.
{% endhint %}

#### **Step 1: Navigate to Security**

* Log in to your AppMySite account.
* Click on the user [**profile**](https://app.appmysite.com/profile) from the top menu.
* From the side menu, select Security.

#### Step 3: Enable Two factor authentication

* Scroll down until you find Two-Factor Authentication (2FA).
* Click Enable.
* Scan the QR code displayed on the screen using your authenticator app.

{% hint style="warning" %}
If you're unable to scan the QR code, use the manual code.
{% endhint %}

* Enter the 6-digit code generated by your authenticator app.
* Click Next to confirm.
* 2FA is now active on your account.

{% hint style="danger" %}
Store your recovery codes in a safe place. You’ll need them if you lose access to your authentication device.
{% endhint %}

If you experience any issues, reach out to our [support team](https://app.appmysite.com/email-support) for help.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.appmysite.com/account/security/activate-2fa.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
