Firebase Push Notification Integration Guide
This document provides step-by-step instructions for integrating Firebase Cloud Messaging (FCM) with your JFW brand. By completing this integration, you enable JFW to deliver push notifications using your own Firebase project credentials.
Prerequisites
Access to the Firebase Console.
Admin access to your JFW brand.
Step 1: Create or Select a Firebase Project
Log in to the Firebase Console.
Either create a new Firebase project or select an existing project that you want to integrate with JFW.
Step 2: Generate a Service Account Private Key
In your Firebase project, go to: Project Settings → Service Accounts.
Under Firebase Admin SDK, click Generate new private key.
A JSON file will be downloaded. From this file, note the following values:
Private Key
Project ID
Client Email
These values are required for the JFW integration.
Step 3: Configure Firebase in Admin
Log in to your Admin.
Navigate to: App Integration → Push Notification.
Click Create in the top-right corner.
Select Firebase as the provider.
Fill in the required fields:
Code – A unique code to identify this integration.
Name – A descriptive name for your Firebase configuration.
Private Key – The private key value from your Firebase JSON.
Project ID – The Firebase project ID.
Client Email – The client email from the service account.
Description – Optional notes about this integration.
Status – Set to Active to use this configuration.
If Inactive, JFW will automatically fall back to the system default configuration.
Click Save to complete the setup.
Step 4: Test the Integration
Once the configuration is created, open the integration detail page.
Click Test in the top-right corner.
A test panel will appear where you can provide:
Token – The device token from your app.
Title – Notification title.
Body – Notification message content.
Click Send Test Notification to validate the integration.
If successful, the notification will be delivered to the specified device.
Step 5: Explore Push Notification APIs
For advanced usage, JFW provides a full set of push notification APIs. You can explore the available endpoints and request/response formats here: 👉 JFW API Reference – Notifications
Last updated