> For the complete documentation index, see [llms.txt](https://aumify.gitbook.io/eng_blog/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aumify.gitbook.io/eng_blog/company-page/companys-webpage-settings/security/two-factor-authentication.md).

# Two-factor authentication

To set up two-factor authentication, either you or your user need to visit the "Security" page in the enterprise settings and click on "Enable 2FA":

<figure><img src="https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FoOZMfJX6aJEFCtdre3I9%2Fimage.png?alt=media&amp;token=2d96376d-699e-4e88-83bb-2ce096ae14a0" alt=""><figcaption></figcaption></figure>

Now, you need to choose a verification method, specifically "Google Authenticator", download the app from  [Apple Store](https://apps.apple.com/ua/app/google-authenticator/id388497605?l=ru) or [Google Play](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2\&hl=ru\&gl=US\&pli=1) to your smartphone, and click "Continue":

<figure><img src="https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FUZXiJUYLTXBuGuWVWDx5%2Fimage.png?alt=media&amp;token=34b9d1d2-4090-476e-ad47-b0e044af5ff3" alt=""><figcaption></figcaption></figure>

You will see a QR code and a "Secret Key" consisting of letters and numbers:

<figure><img src="https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FaJvPVvOmo2vT6K8YIYxf%2Fimage.png?alt=media&amp;token=6e67feb0-b714-4c24-9018-9b5b2847f402" alt=""><figcaption></figcaption></figure>

Open the Google Authenticator app on your smartphone and tap on the "+" icon in the bottom left corner:

![](https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FH7MzNiP0iqqIK2rsPSox%2Fimage.png?alt=media\&token=c94af302-a1f7-484b-8f47-aa1dbb4831f4)

Choose "Scan a QR code", allow the app to access the camera, and point it towards the QR code on the enterprise page:

![](https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FkhdmiYCPeMoPaHBoNM5l%2Fimage.png?alt=media\&token=0db3e841-dd23-4995-965f-bcdb73642350)

On your screen, you will see a code that changes every 60 seconds:

![](https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FErglJQq64n9vaoaSSfRE%2Fimage.png?alt=media\&token=41c88567-e112-4019-a8f6-67e37f4f3c1c)

On the next screen, request a confirmation code to be sent to your email, and enter the current code from the Google Authenticator app, then press "Submit".&#x20;

{% hint style="info" %}
The code from the authenticator refreshes every 60 seconds. If you didn't manage to enter the email code and press "Submit" within that time - simply input the new one.
{% endhint %}

<figure><img src="https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FqJm2WuX9Lb3ax7xyUFSC%2Fimage.png?alt=media&amp;token=fc4be59f-80b9-4000-89e0-1ba6efd7a966" alt=""><figcaption></figcaption></figure>

If everything is done correctly, the 2FA status will change to "Activated" within 5 seconds:

<figure><img src="https://2322585002-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfbCJ0QTBQy65vTUWGIFh%2Fuploads%2FnlQFwL76p5JW6f74u9l5%2Fimage.png?alt=media&amp;token=d5573f83-83d0-4eac-bb6d-6ef4f7a300e5" alt=""><figcaption></figcaption></figure>
