PusherHub

Docs Firebase setup

Get your Firebase service account file

The one file PusherHub needs to send push notifications through Firebase Cloud Messaging — where to download it, and where to upload it.

3 min read

All guides
1

Open Service accounts

In the Firebase console, open your project. In the menu on the left, click Settings, then Service accounts.

Settings Service accounts

1 Settings · 2 Service accounts

In an older console, click the gear icon next to Project Overview, then Project settings › the Service accounts tab.

2

Generate a new private key

You'll see Firebase Admin SDK with some code below it — you don't need the code. Click Generate new private key, then Generate key in the box that opens.

1 Service accounts tab · 2 Generate new private key

Your browser downloads a .json file with a name like your-project-firebase-adminsdk-ab12c-1a2b3c4d5e.json. That's the file PusherHub needs.

3

Upload it to PusherHub

Either on the New Application page, or on your app's Firebase Integration tab:

  1. Fill in Firebase account email — the Google account you use for Firebase.
  2. Click the upload box, or drag the .json file onto it.
  3. Save. PusherHub checks the key with Firebase straight away; the status shows Connected when it works.
1 Firebase account email · 2 Drop your service account file here