Firebase Configuration
Create Firebase Project
- Goto >> Firebase console
- Register a new account or try to log in with existing google accout.

- Once logged in, you can see firebase console dashboard. Click on Add Project.Provide a project name, and then select country and then after that click on Create Project. For example, see the below image.

- Once the project has been created, it will automatically redirect to Firebase dashboard screen.

- Now you need to add web project/application to the firebase project. Follow the step given there

-
Now go to Authentication menu located under build menu. Then click on "Get started" and open "Sign-in method" Tab. Then select phone and Google sign-in providers.

-
Now go to Settings tab -> In "Authorized domains", add localhost, a Firebase domain, and web app are automatically added. -> Here you need to add your domain name without http:// and https://

- Go to Project settings by clicking the gear icon near "Project overview" on the sidebar.

- On general tab scroll down and you will find created web App in the "Your apps" section. There you shall find the config options that will have firebase settings.

- Go to the Web configuration tab and scroll down to Web Push certificates section, and click Generate Key Pair. The key pair shown in the table after generating is the Vapid key.

- Go to the Service accounts tab and on the Firebase Admin SDK section, click on Generate new private key. This shall create and download the file that you shall need to upload in firebase settings of admin panel firebase settings.

- You need to set this details in eDemand admin panel -> Firebase Settings Page from Settings page
note
Upload json file In firebase configuration
