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

# Signin with Email Code

> Allow users to sign in with a one-time code.

<Frame caption="Signin in with code">
  <img src="https://mintcdn.com/softr-2b8a27e1/VxMjh5thxtybPdCf/add-and-manage-users/images/signin-with-email-code/image1.png?fit=max&auto=format&n=VxMjh5thxtybPdCf&q=85&s=64a45369634c67d3c083612ae8219ed3" alt="Signin in with code" width="822" height="794" data-path="add-and-manage-users/images/signin-with-email-code/image1.png" />
</Frame>

<Tip>This feature is only available to **Professional** and **Business** users.</Tip>

Using this sign-in block, you can allow your users to log in using a random code sent to their email instead of entering a password. Let's quickly review the block settings.

<Tip>The code will be valid **for 5 minutes** after being sent.</Tip>

## **Signin Form**

If the **Only registered users can sign in** toggle is enabled, only the users that already have an account in your Softr app will be able to sign in using this block.

The Domain-based signup option works similar to that of the [Signup Form](/add-and-manage-users/pxnkp9H3qyEVMF6XUceqnj/signup-form/tPe3uxmdcUNeFYuaLTR1o9).

<Steps>
  <Step title="Step 1: Email">
    Here, you can customize the Email field placeholder text as well as the text on the send button.
  </Step>

  <Step title="Step 2: Code">
    The code field placeholder text and Signin button text can also be customized.
  </Step>
</Steps>

## **On Signin**

Finally, you need to choose the page the the users will be taken to after signin.

## Testing

Now, let's see how the block works from the user's standpoint. In the first step, the user needs to enter his/her email address as shown below.

<Frame caption="Entering email">
  <img src="https://mintcdn.com/softr-2b8a27e1/VxMjh5thxtybPdCf/add-and-manage-users/images/signin-with-email-code/image2.gif?s=f62c7ab470dc91d3f4f04f36743303e0" alt="Entering email" width="2880" height="1408" data-path="add-and-manage-users/images/signin-with-email-code/image2.gif" />
</Frame>

Next, a random code will be send to user's mailbox, which he/she should use in the **Sign in code**
field to log in. See below.

<Frame caption="Logging in with the received code">
  <img src="https://mintcdn.com/softr-2b8a27e1/VxMjh5thxtybPdCf/add-and-manage-users/images/signin-with-email-code/image3.gif?s=0f13f09c9ae9829ee3347fcc4bfc3511" alt="Logging in with the received code" width="2880" height="1408" data-path="add-and-manage-users/images/signin-with-email-code/image3.gif" />
</Frame>

That's. It only takes a few seconds to get the code and enter the site.
