Configure firebase

The first step in plugin configuration consists in creating a Firebase account (skip to the next step in case you already have one)
Create a new application, so that you can get the parameters required by the plugin.

Please note – if you are already using the plugin, follow only the steps from 6 to 11.

1- Go to https://console.firebase.google.com/ and click on the “Create a project” button.

2- Now give a name to your project by entering it to the related field.

3- Activate Google Analytics for your Firebase project by enabling the option Enable Google Analytics for this project and click on Create project.

4- Wait until your project is created then click on Continue.

5- Now go to Firebase settings and select Project settings like in the image below.

6- In the tab General > Your project of Firebase settings,¬†you will find the project ID. Copy it…

7- …and paste it in the field Firebase project ID that you find in the plugin General settings.

8- Go back to the tab General > Your project where you will find the Web API key. Copy it…

9- …and paste it in the field Firebase API key that you find in the plugin general settings.

10- Now go to the section Service accounts of your project and click on Generate new private key. After downloading the file, copy its content and…

11- …paste it in the field Firebase Private key that you find in the plugin general settings.

12- From the next field, Firebase Database Rules, copy the text and…

13- …go to your project Database.

14- Click on the button Create database available in Realtime Database.

15- In the Security rules for Realtime Database, remove the text shown and paste the one you previously copied from Firebase Database Rules. Now click on Enable.

16- The last step is to publish by clicking on the button Publish that you find in the Database Rules section.