Firebase

Google Service Account

In order to access a Firebase project using a server SDK, you must authenticate your requests to Firebase with Service Account credentials.

To authenticate a service account and authorize it to access Firebase services, you must generate a private key file in JSON format.

To generate a private key file for your service account:

  1. Open https://console.firebase.google.com/project/_/settings/serviceaccounts/adminsdk and select the project you want to generate a private key file for.

  2. Click Generate New Private Key, then confirm by clicking Generate Key

  3. Securely store the JSON file containing the key.

After downloading the service account key, you need to upload this to the backend.

On the backend go to Settings > Settings > Push notification setting(Firebase). Then upload the just downloaded Service account file.

Last updated