> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cometly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable two-factor authentication (2FA)

> Enable two-factor authentication in Cometly so every login needs a one-time code from your authenticator app, even if someone learns your password.

Two-factor authentication (2FA) adds a second check to your Cometly login: after your password, you enter a one-time code from an authenticator app on your phone. Once enabled, you will be required to enter that code when signing in or performing sensitive actions.

Two-factor authentication helps protect your Cometly account even if your password is compromised. Your login opens your ad performance data and your connected ad accounts, so a stolen password alone should not be enough to get in.

You need an authenticator app on your phone, such as Google Authenticator, Authy, or 1Password.

## Enable two-factor authentication in Cometly

**1. Open your profile**

In the Cometly app, click **Settings** at the bottom of the left sidebar. Settings opens on your **Profile** page.

**2. Find Two Factor Authentication**

Scroll to the **Two Factor Authentication** section. It shows the message "You have not enabled two factor authentication."

Click **Enable**.

**3. Confirm your password**

For security reasons, Cometly may ask you to confirm your password before continuing. Enter your password in the **Confirm Password** dialog and click **Confirm**.

**4. Set up your authenticator app**

1. Scan the **QR code** with your authenticator app.
2. Enter the **6-digit code** generated by the app.
3. Click **Confirm**.

**5. Save your recovery codes**

After you confirm, the section shows "You have enabled two factor authentication." and lists your recovery codes.

Store the recovery codes in a secure password manager. You need them to get back into your account if you lose access to your authenticator app. You can display them again later with **Show Recovery Codes**.

## Check it worked

The **Two Factor Authentication** section of your Profile page now shows "You have enabled two factor authentication.", with **Show Recovery Codes** and **Disable** buttons. The next time you log in, Cometly asks for the 6-digit code from your authenticator app after your password.

From now on, you will be prompted for a one-time code from your authenticator app during future logins or sensitive actions.

To turn 2FA off, go back to the **Two Factor Authentication** section and click **Disable**.

> [!NOTE]
>
> If you believe your account has been compromised, update your password immediately and use **Logout Other Browser Sessions** on the Profile page to sign out of all other devices.

## Frequently asked questions

### What if I lose my phone or cannot open my authenticator app?

Log in with your password, then click **Use a recovery code** on the code screen and enter one of the recovery codes you saved. Once you are in, you can go to your Profile page to turn 2FA off and set it up again on a new device.

### Can I get new Cometly recovery codes?

Yes. In the **Two Factor Authentication** section, click **Show Recovery Codes** and confirm your password to display your codes. While they are displayed, click **Regenerate Recovery Codes** to replace them with a new set, then save the new codes.

### How can I see which users on my account have 2FA turned on?

Open the **Users** page in Settings. Each user is listed with a **2FA** or **No 2FA** badge next to their name.

## Next steps

* [Change your password](https://docs.cometly.com/guides/account/change-password.md)
* [See everything on the Profile settings page](https://docs.cometly.com/settings/profile.md)
* [Add users to your account](https://docs.cometly.com/guides/account/add-users.md)

Still have questions or need a hand? We're happy to help. Reach our team at [support@cometly.com](mailto:support@cometly.com).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.