> For the complete documentation index, see [llms.txt](https://docs.connected.events/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.connected.events/cookbook/set-up-your-community/first-steps-the-control-center/enable-email-sign-in-codes.md). Agents can also search and read this documentation through its [MCP server](https://docs.connected.events/~gitbook/mcp).

# Enable Email Sign-In Codes

Allow clients to login using an email sign-in code.

## Introduction

Streamline client login by enabling **Email Sign-In Codes.** When set to Preferred, an email sign-in code is automatically sent to the client upon entering their email address, providing a seamless password-less experience and simplifying account recovery. You can choose whether sign-in codes are preferred by default or offered as an alternate option alongside standard passwords.

{% hint style="info" %}

## Please Note:&#x20;

Email Sign-In Codes are disabled by default. Follow the steps below to enable this feature for your community.
{% endhint %}

## How to Enable Email Sign-In Codes

{% stepper %}
{% step %}

#### Navigate to Auth Settings

* Select the waffle icon **(**<img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2F0XbXnlX25yGrDe9qGywc%2FUntitled%20(100%20x%20100%20px)%20(2).png?alt=media&amp;token=0266f5e9-62b2-45ff-bd47-a970b2354353" alt="" data-size="line">**)** at the top of the Admin Portal.
* Select **"Control Center"** from the bottom right of the dropdown menu.
* Select **"Auth"** from the top menu on the Details page.&#x20;
  {% endstep %}

{% step %}

#### Enable Email Sign-In Codes

* Ensure the Email Login toggle is enabled.&#x20;
* In the Email Sign-In Codes field, select **"Preferred — email a code automatically"** or **"Optional — offer a code on the password screen"** depending on your preference.&#x20;
* Select **"Update"** to finalize the edit.&#x20;

<figure><img src="https://285465303-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHrgCqXYXfIqcyaNSQwMZ%2Fuploads%2Fs3t3MmCyHWlzjFOtJvLM%2Femailsignincodes.gif?alt=media&amp;token=487d1e93-2d7b-4911-bd7d-2e4453ae2312" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.connected.events/cookbook/set-up-your-community/first-steps-the-control-center/enable-email-sign-in-codes.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
