# Two-Factor Authentication

Two-factor authentication (2FA) is an extra layer of security used when signing into websites or apps.

With two-factor authentication enabled, you have to sign in with your username and password and provide another form of authentication that only you know or have access to. This ensures that only you can access your account, even if someone else knows your password.

## Turning On Two-Factor Authentication

You can turn on two-factor authentication for your account using these steps:

1. Sign into [**Account Manager**](https://www.marketcircle.com/account/login).

   <figure><img src="/files/nUae4ozDCSlCQJs2zVgf" alt="Daylite Sign In"><figcaption></figcaption></figure>
2. Select the **My Info** tab, and then select **Enable Two-Factor Authentication** under the **Security** section.

   <figure><img src="/files/VipqOkj6FGjX52Ivn2qY" alt="Daylite Sign In selecting Security"><figcaption></figcaption></figure>

Daylite will now ask you to use an authentication app to obtain a verification code before continuing.

1. The simplest option is to use Apple's built-in **Passwords**. This way you can simply right-click on the QR code and choose **Set Up Verification Code**.

   <figure><img src="/files/Av2d20IJnRmwzRGIDg09" alt="Daylite Sign In right click QR Code"><figcaption></figcaption></figure>
2. Select the login you wish to associate the verification code with and click **Add Verification Code**.

   <figure><img src="/files/j7U8mPXlvbNAeQPDwuLa" alt="Login associated with verifcation code"><figcaption></figcaption></figure>
3. The Verification Code has now been successfully linked to your account.

   <figure><img src="/files/roKWJH8apgmUgruacPfG" alt="Login associated with verifcation code"><figcaption></figcaption></figure>
4. Click on the Daylite Verification Code field and it will automatically populate. If you have turned off the password auto-fill feature in Safari you will need to enter the Verification Code manually.

   <figure><img src="/files/51uvENxvXOqqqa6G9los" alt="Login associated with verifcation code"><figcaption></figcaption></figure>
5. Daylite will now show you **Recovery Codes**, which you should copy or print, and store someplace safe in the event you lose or do not have access to your authentication app. Click **Continue** when ready.

<figure><img src="/files/FuiJRbNHqZR4ezq182PT" alt="Recovery Codes"><figcaption></figcaption></figure>

1. If you are using a different authentication app, such as **1Password** or **Google Authenticator** you can scan the QR code, or copy and paste the text code into the app.
2. Your authentication app will now be able to provide a verification code, which you need to enter to continue.

<figure><img src="/files/3cTNG7roqBiaXDsnrYMp" alt="Daylite Sign In showing QR Code"><figcaption></figcaption></figure>

## Logging In

Once two-factor authentication has been enabled, Daylite will require a verification code each time you log in. The process is the same on a Mac, iPhone or iPad.

1. Logging in still begins with your email and password just like before.

<figure><img src="/files/fhz2RKHdCLMwbNzwWwH7" alt="Daylite Sign In showing email and password"><figcaption></figcaption></figure>

1. It is now followed by a **Verification Code** request. Enter the verification code from your Authentication app and click **Verify**.
2. If you do not have access to your Verification Code you can click **Sign in with recovery code** and enter one of the recovery codes you have previously written down, saved or printed.

<figure><img src="/files/Hc8NwCK3w4KjD5iE0qdY" alt="Daylite Sign In showing verificiation request"><figcaption></figcaption></figure>

It is important to note that once two-factor authentication is enabled, sign in will require an updated version of Daylite. Older versions of Daylite will not be able to sign into an account with two-factor authentication enabled.

However, any Mac, iPad, or iPhone that is already logged in will not need to re-authenticate.

{% hint style="success" %}
**Pro Tip:**

[Setting up iCloud Keychain](https://support.apple.com/en-us/HT204085) helps save your passwords automatically, receive password suggestions, and gives you verification code integration with Daylite.
{% endhint %}

## Generating New Recovery Codes

A recovery code can only be used once before it is invalidated, so you may decide to generate new ones to have on hand. You may also want to create new recovery codes if you have lost your old ones.

1. Sign into your account and select **My Info**, then click **Generate New Recovery Codes**.

   <figure><img src="/files/e0orJlcfLLW1fh8JWH2j" alt="Daylite account showing Generate New Recovery Codes"><figcaption></figcaption></figure>
2. Click **Continue** when asked to confirm. New recovery codes are generated and you are instructed to copy, print, or store them.

   <figure><img src="/files/ZR6jg0NNFidKfrx4b1bb" alt="Daylite account showing generate new revovery codes confirmation"><figcaption></figcaption></figure>

## Disabling Two-Factor Authentication

1. You can disable two-factor authentication by signing into your account and selecting **My Info**, then click **Disable**.

<figure><img src="/files/GnoiPZTX32AjAIw2ps2G" alt="Daylite account showing disable"><figcaption></figcaption></figure>

1. You will be asked to confirm your decision to disable two factor authentication and warned that your account is more secure with two-factor authentication enabled.

<figure><img src="/files/fo2MkxjtYbztgVzUhEJU" alt="Daylite account showing disable confirmation"><figcaption></figcaption></figure>

## Company Requirement for Two-Factor Authentication

A company may decide to require all users to use two-factor authentication to log in.

The company's account administrator can turn on the **requirement** for two-factor authentication, which means each user will need to follow the steps outlined in this article to turn on two-factor authentication for their own account.

In order to turn on the company requirement for two-factor authentication:

1. The account administrator must log in to [**Account Manager**](https://www.marketcircle.com/account/login) and select the **Users** tab.
2. Click **Require Two-Factor Authentication**.

   <figure><img src="/files/wlcZQk70Doga4srJEkrK" alt="Daylite account showing requirement for two-factor authentication"><figcaption></figcaption></figure>

The administrator can also see which users have enabled two-factor authentication, which is indicated with a **2FA** badge on each user's row on the **Users** tab. The same badge will also show on the row for each device that has logged in using two-factor authentication. Note that existing devices are not forced to reauthenticate when turning on two-factor authentication, so the user would need to log out and log in again on a device for it to show the badge.

## Wrap Up

Two-factor authentication lets you enjoy peace of mind, knowing your Daylite data is protected. You are the only one who can access your account, even if someone else knows your password.


---

# 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.daylite.app/help/learn/scale-your-business/two-factor.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.
