# How to secure your profile using 2FA

It's strongly recommended that you enable two-factor authentication (2FA) using either a time-based one-time password (TOTP) app, such as Google Authenticator, or SMS codes to enhance your profile’s security and protect it from unauthorized access.

{% stepper %}
{% step %}
In the B2CORE UI or app, navigate to **Profile** > **Security**.

{% hint style="info" %}
The names of menu items and other UI elements depend on your broker’s configuration and may differ from those shown in this guide.
{% endhint %}
{% endstep %}

{% step %}
In the **Two-Factor Authentication** section, enable one of the options:

* **Google Authenticator** — to use the Google Authenticator app or another compatible tool to generate time-based verification codes.
* **SMS Confirmation** — to receive time-sensitive verification codes on your phone number via SMS.

{% tabs %}
{% tab title="B2CORE UI" %}

<figure><img src="/files/mRmxri5ZmoEzlPoKABTw" alt="Two-Factor Authentication"><figcaption><p>Two-Factor Authentication</p></figcaption></figure>
{% endtab %}

{% tab title="Mobile app" %}

<figure><img src="/files/nVk2EkV6IXayiwjEJDyf" alt="Two-Factor Authentication" width="200"><figcaption><p>Two-Factor Authentication</p></figcaption></figure>
{% endtab %}
{% endtabs %}
{% endstep %}

{% step %}
Follow the onscreen instructions to complete the 2FA setup and verify that it's working correctly.
{% endstep %}
{% endstepper %}

Once 2FA is enabled, you’ll be prompted to enter a verification code each time you sign in to your profile after entering your credentials, as well as in other scenarios that require confirmation.


---

# 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.b2core.b2broker.com/front-office-guide/manage-your-profile/how-to-secure-your-profile-using-2fa.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.
