Skip to content

How to Create a Firebase Project for Push Notifications

Push notifications are delivered by Firebase Cloud Messaging, Google’s own service. The plugin never talks to a device directly. It hands a message to Firebase, and Firebase reaches the browsers that have subscribed to you.

So before any of the Push Setup fields mean anything, you need a Firebase project. This page is the console half of that job, screen by screen. When you reach the end you will be looking at the settings page that holds all four values, and How to Connect Firebase for Push Notifications takes it from there.

It is free. Push at the volume a WordPress site sends stays inside the no-cost Spark plan, and Firebase does not ask for a card to create the project.

Sign in at console.firebase.google.com with any Google account and press Create a project.

The Firebase console welcome screen with Create a project highlighted

The name is for your own reference. Visitors never see it, and it does not have to match your domain. Tick the Firebase terms and press Continue.

Naming the Firebase project

Firebase offers to attach Google Analytics. Push notifications do not use it, so this is entirely your call. Leaving it on costs nothing and gives you Firebase’s own delivery reporting alongside the plugin’s Delivery Log.

The Google Analytics step of project creation

If you leave it on, the next screen asks which Analytics account to use. The default one is fine.

Choosing a Google Analytics account

Firebase takes a few seconds and then says the project is ready. Press Continue.

The project ready confirmation

A Firebase project on its own has no credentials to give you. The firebaseConfig block the plugin asks for belongs to an app inside the project, so you have to register one.

On the project overview, press the web icon. It is the one marked </>.

The project overview with the web app icon highlighted

Give it a nickname and press Register app.

Registering the web app

Step 6: Click through the rest of the wizard

Section titled “Step 6: Click through the rest of the wizard”

Firebase now walks you through adding its SDK and installing its command line tool. Neither applies here. The plugin ships its own copy of the Firebase messaging SDK and registers its own service worker, so there is nothing for you to paste into a template.

Press Next until the wizard offers Continue to console.

The last step of the web app wizard, with Continue to console highlighted

Everything from here lives under Project settings. On the project overview your new app is listed near the top. Press the gear beside it.

The project overview with the app and its settings gear highlighted

That screen has the tabs the next tutorial uses.

  • Cloud Messaging holds the Web Push certificate key pair and the Sender ID.
  • Service accounts is where you generate the private key file.
  • General holds the firebaseConfig block.

Two things the older setup guides for this plugin walked through, and neither is used:

  • Firebase Storage: The plugin stores nothing in Firebase. Notification images are served from your own media library.
  • Firebase Hosting: Your site is your site. Firebase only relays messages.

If you already enabled either, nothing breaks. They simply sit unused.

The project exists and has a web app in it. The four values are now sitting in Project settings waiting to be copied.