Email Sign In by Firebase
To use Sign In, you will need to first create your own Firebase account and project

Video Tutorial

You can watch a video to learn about all of the Sign In blocks here:

Getting Started

Create your free Firebase account and create a new project

Enable Email / Password Sign in

In the Firebase console, navigate to Authentication go to the Sign-in Method tab.
Find the Email/Password item under Sign-in providers.
Click the pen icon to edit configuration. Set the Email/Password property to true and save.

Connect your Firebase Account with Thunkable

There are two properties that you need to retrieve from Firebase to connect it with Thunkable which are both retrievable from the Firebase console: API key and database URL.
You can add these values to your Project Settings, which you can access by clicking on the gear icon to the left of the Design tab of your project.
To get these values from your Firebase project, click on the gear icon next to Project Overview and click Project Settings.
In the General tab, scroll down to the section called Your Apps. You will find your API Key and Database URL in the code snippet provided.

(Optional) Modify the email template you send to verify your users' emails

You can modify the default email that is sent to new users in the Templates tab of the Authentication segment of your console.

Using the Sign In Component in your App

Click on the Sign In drawer of blocks to access the Sign In blocks.

Sign up

The first step for users is to Sign Up with their email address and a password. They will be sent an email to verify the address that they provided.
Sign up ( email, password))
Signs up a user for a new account. Returns an error if sign up is not successful. A common error is "The email address is already in use by another account."
Here is an example of using this block:

Sign in

This block will sign a user in and return their user ID.
You can use these blocks below to sign a user in:
When the user's email and password have been stored locally, the following blocks can be used to sign the user in with these details automatically.
You can also use the User ID as a key for storing user data in the cloud. See the Cloud Variables video tutorial for an example of this.

Sign Out

Signs the user out.

Reset Password

Send an email to the specified email address to reset their password

Manage User Access

On the Firebase console, navigate to the Users tab under Authentication and you'll find a dashboard where you can reset a user's password, disable and delete their accounts.

See Also

Once you have signed a user in, you can use their user ID as a unique key to store unique user data to the cloud. See the cloud variables video tutorial for more information.