Step1 Add Firebase to your JavaScript project Before you can start using Firebase in your web project, you need to create a Firebase project to connect to your app. To create your Firebase project, click on this link to get instructions.
Step2 You also need to enable Email/Password sign-in. To do this, you need to go to your Firebase Console, open authentication section, then click on the sign-in method tab and enable Email/Password sign-in method. The image below has Email/Password sign-in method enabled