# How to activate and deactivate two-factor authentication

Two-factor authentication is a feature that provides additional protection and ensures secure access to any system.

On the Digibee Integration Platform, it is possible to activate two-factor authentication on the Platform itself to protect your login. See the steps below.

{% hint style="info" %}
If your access is through an [identity provider](/documentation/developer-guide/platform-administration/administration/identity-provider-integration/how-to-integrate-the-identity-provider.md) that is already integrated with the Digibee Integration Platform, this authentication feature is not required.
{% endhint %}

## **How to activate the two-factor** authentication

1. Log in to the Digibee Integration Platform.
2. Click the user menu in the upper right corner.
3. Click **Two-factor authentication.**
4. Select the authentication app and download it to your phone.
5. Open the selected app, scan the QR code and enter the code that appears in the app.
6. Click **Activate.**

{% hint style="info" %}
**Important information:**

* Download the authentication app (*Google Authenticator,* *Microsoft Authenticator*, or *LastPass Password Manager*) using your smartphone operating system store.
* Once you click **Activate**, the Platform will redirect the user to a deactivation page. It is only necessary to fill in this page if the purpose is to disable the feature.
  {% endhint %}

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

From now on, every time you log in through the Digibee Integration Platform, you will need to provide the application's security code. To learn more, [read our documentation about the login flow](/documentation/developer-guide/platform-administration/administration/user-authentication-and-autorization/login-flow.md).

If it's not possible to access the application when logging in, please contact support.

## **How to deactivate the two-factor** authentication

1. Log in to the Digibee Integration Platform.
2. Click the user menu in the upper right corner.
3. Click **two-factor authentication.**
4. Enter the security code provided by the application.
5. Click **Deactivate.**

<figure><img src="/files/P7iqt3UvcBOFvEWSN1Kp" 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://docs.digibee.com/documentation/developer-guide/platform-administration/administration/user-authentication-and-autorization/two-factor-authentication.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.
