> For the complete documentation index, see [llms.txt](https://docs.nighty.one/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nighty.one/guides-and-tutorials/discord-mfa-setup.md).

# Discord MFA Setup

Some things you do on Discord need an extra security check before they go through. Depending on how your account is set up, that check is either your **Discord password** or a **2FA code** (the 6-digit code from an authenticator app like Google Authenticator).

Nighty doesn't know your password or your 2FA code, so it can't pass that check on its own. To use the features that need it, you have to give this information to Nighty once. This guide shows you how.

{% hint style="danger" %}

## Before you start (please read)

### If you already use 2FA (an authenticator app) on your Discord account:

To set 2FA up with Nighty, you first have to **turn 2FA off on Discord and turn it back on again**. This is the only way to get the special key Nighty needs.

Turning 2FA off and on again will **change your Discord token**, which means Nighty will log you out and ask you to log back in. That's normal and expected.

* Set aside about **5 minutes** for this.
* Follow the steps exactly as written, in order.
  {% endhint %}

### Which section do I follow?

**You only use a password** (no authenticator app / no 2FA) → follow the **Password Only** section below.

{% content-ref url="/pages/b297d58ca5c19557acaf4ac0df597bd8f7ea625e" %}
[Password Only](/guides-and-tutorials/discord-mfa-setup/password-only.md)
{% endcontent-ref %}

**You already use 2FA** (an authenticator app) → go to the **2FA Setup** section below.

{% content-ref url="/pages/a412f27ec637eb4bc2bbb99ee2b2526b3f9cc620" %}
[Password + 2FA (Authenticator app)](/guides-and-tutorials/discord-mfa-setup/password-+-2fa-authenticator-app.md)
{% endcontent-ref %}

Not sure? Start with [**Password Setup**](/guides-and-tutorials/discord-mfa-setup/password-only.md). If Nighty asks you for a 2FA code at any point, that means you have 2FA enabled, so jump to the **2FA Setup** section instead.
