> For the complete documentation index, see [llms.txt](https://docs.agilecase.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.agilecase.com/user-documentation/agilecase-security/two-factor-authentication.md).

# Two Factor Authentication

### What is two factor authentication?

Two Factor Authentication allows you to greatly increase the security of your AgileCase accounts. It links your account to an app on your smartphone which generates codes that expire after a short period.

When you go to log in to AgileCase, you will be prompted to enter the current code on the app as well as your password.

This boosts the security of your account as the two sources, you password and the code from your smartphone, are separated- if one is compromised then the other shall still prevent an intruder from accessing your account.

Currently, two factor authentication is free on AgileCase, but in the future it will become a premium feature with additional charges.

### Enabling Two Factor Authentication

<figure><img src="/files/0tYbNDOjYc1e516PTlVd" alt=""><figcaption></figcaption></figure>

To enable two factor authentication on AgileCase, you must click the link at the bottom of the "My information" page in the settings menu.

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

The link will take you to a page that describes two factor authentication and allows you to set it up for your account.

{% stepper %}
{% step %}

### Download the relevant app

Download the relevant app for your smartphone.
{% endstep %}

{% step %}

### Scan the QR code

Use the app to scan the QR code on this page, which will link your AgileCase account to the app.
{% endstep %}

{% step %}

### Enter the code

Once the accounts are linked, you will be provided with a code, which you should enter on this page.
{% endstep %}

{% step %}

### Enable two factor authentication

Click enable to turn on two factor authentication for this account.
{% endstep %}
{% endstepper %}

The lessons below show how to use two factor authentication apps on different kinds of smartphone:

* [iOS](/user-documentation/agilecase-security/two-factor-authentication/ios.md)
* [Android](/user-documentation/agilecase-security/two-factor-authentication/android.md)
* [Removing / Re-adding 2FA Settings](/user-documentation/agilecase-security/two-factor-authentication/removing-re-adding-2fa-settings.md)

### Using two factor authentication

<figure><img src="/files/7PxKsV8zeiesKGpruNYY" alt=""><figcaption></figcaption></figure>

Once you have two factor authentication enabled, an additional page will display after you enter you password to log in. This page will prompt you to enter the verification code from your smartphone app.

Once you have entered the code, you will be logged in to your account as normal.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.agilecase.com/user-documentation/agilecase-security/two-factor-authentication.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
