# Setting up 2FA

You can secure your account with 2FA using Authly, Google Authenticator, or any authenticator app

1. Log in to your website and click your profile name (top right)
2. Scroll down to **Admin 2FA**
3. Enable the checkbox and save your changes
4. A **QR code** will appear, scan it with your phones camera which will then open your authenticator app and add a 2FA code
5. Log out and log back in, you’ll be prompted for a 2FA code

{% hint style="success" %}
Your trusted device will not ask for a 2FA code again for the next 30 days
{% endhint %}

* You’ll only be asked for a 2FA code on **unrecognized devices**
* You can **forget all trusted devices** or **revoke individual ones** at any time

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

### Forcing 2FA - All Admins and Shop Managers

You can force all Admins and Shop managers to have 2FA enabled before viewing any sensitive pages by enabling the feature under Extensions:

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

On any sensitive pages the below will show which will send them to the 2FA Setup menu under their profile and will restrict access to the page:

<figure><img src="/files/rbDBE9UyAaJbAPZ0dgKE" 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://competitions.gitbook.io/competition-docs/security/setting-up-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.
