Skip to content

Chrome and Firefox configuration

To send push notifications to Chrome and Firefox, you need to configure your Firebase project and provide the necessary credentials.

Step 1. Start configuring the Chrome or Firefox platform in Pushwoosh

  1. Open your Pushwoosh project and select the app you want to configure.
  2. Go to Settings → Platform Configuration.
  3. Choose Chrome or Firefox, then click Configure next to the selected platform.
Configure Chrome and Firefox

This will open a configuration form where you need to enter your Firebase project credentials.

enter your **Firebase project credentials**

Step 2. Obtain and add Firebase credentials

  1. If you haven’t created a Firebase project, set one up in the Firebase Console.
  2. Open the Firebase Console and select your project.
Open the Firebase Console and select your project
  1. Navigate to Project settings.
Navigate to **Project settings**

Import FCM service account key

  1. In Firebase Console, go to Project settings → Service accounts.
  2. Click Generate new private key to download the JSON file.
Generate new private key
  1. In the Pushwoosh Web configuration form, under Import FCM Service Account Key, click Upload new and select the downloaded JSON file.
Import FCM Service Account Key in Pushwoosh

Enter Web Push credentials

Add Web Push certificate key pair

  1. In Firebase, navigate to Project settings → Cloud messaging.
  2. Scroll down to the Web configuration section and click Generate key pair.
Generate key pair
  1. Copy the generated key pair to your clipboard.
Copy the generated key pair to your clipboard
  1. Paste it into the Web Push Certificate field in Pushwoosh Web configuration form.
Paste the generated key pair

Add Web Push private key

  1. In Firebase Console, go to Project settings → Cloud Messaging → Web configuration.
  2. Click the three-dot menu under Actions next to the key pair and select Show private key. This key is essential for ensuring that Web Push notifications function correctly.
Copy private key
  1. Copy the displayed key to your clipboard.

  2. In the Pushwoosh Web configuration form, paste it into the Web Push Private Key field.

paste private key
  1. Click Apply to save your changes.

Step 3. Enable API permission on Google Cloud Platform

  1. Visit Google Cloud API
  2. Select your project.
  3. Press Enable.

Step 4. Finalize integration

Ensure you have integrated the Web Push SDK 3.0 into your Chrome or Firefox project.