To add Firebase SDK in your web or mobile app, you’ll need to set up a Firebase project and a short code snippet of initialization code. The short code snippet has a few details about your Firebase project. Here are the steps to set everything up:
- Login to https://console.firebase.google.com
- Add new firebase project
- After adding a project, you can find initialization code snippet under Authentication > Web setup menu.
- Click Copy, then paste the code snippet into your application HTML.
For more information, you can visit official documentation https://firebase.google.com/docs/web/setup