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

# 2FA

{% embed url="<https://www.youtube.com/watch?v=XdOLal39cAA>" %}

**Two-factor-Authentication** or **2FA** is an additional safety feature used to maximise an account's security. While 2FA is enabled on your account, actions, such as logging in, placing a withdrawal and changing account password will require a 6-digit time code which is generated via your 2FA mobile app.

We strongly recommend having 2FA enabled on your account **at all times** as this is one of the best ways to secure your account. The setup process is quick and simple:

* Navigate to the [Settings](https://margex.com/app/settings) page of your account by clicking on the profile icon and then on the Settings button:

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

* Click on the Google Authentication setting button:

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

* The 2FA page will now pop up:

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

* Download the Google Authenticator app for your device (via the App Store or Play Store)
* Copy and **save your secret key** in a secure place
* Paste the secret key in your Google authenticator app
* Enter the 6-digit time code generated in your authenticator app and click "CONTINUE"

{% hint style="warning" %}
The secret key can be used to restore your Google Authenticator time codes should you lose access to your mobile device. When enabling 2FA, make sure to save the latest 32-digit secret key in a secure location.
{% endhint %}
