Integrating Firebase Cloud Messaging for Push Notifications
This guide will walk you through the steps to integrate Firebase Cloud Messaging (FCM) with your application to enable push notifications. Follow these steps to configure your settings and upload your private key.
Prerequisites
Before you begin, ensure that you have administrative access to your Firebase console and the application dashboard.
Step 1: Obtain Your Private Key from Firebase
Login to Firebase Console: Visit the Firebase console and log in with your credentials.
Navigate to Project Settings: Click on the gear icon (⚙️) next to the Project Overview on the left sidebar to open the settings menu.
Access Service Accounts: In the settings menu, select the Service Accounts tab.
Generate New Private Key: Click on the Generate New Private Key button at the bottom of the page. Confirm the prompt to download your JSON file, which contains your private key. Keep this file secure, as it provides API access to your Firebase services.
Step 2: Upload Your Private Key to Your Dashboard
Log Into Your Dashboard: Open your dashboard at Convertedin.
Open Settings: Click on the Settings icon located at the bottom left of the sidebar of your dashboard and select Configurations to open the configuration page..
Access Push Notifications: Click on the Push Notifications tab to access the push notification configurations.
Upload Private Key:
Locate the input field labeled Server Token.
Click on the field to upload the JSON file you downloaded from Firebase.
Save Your Configuration: After uploading the JSON file, click the Save button to update your settings.
Confirmation
Once you have uploaded your JSON file and saved the configuration, your application will be set to receive and manage push notifications via Firebase Cloud Messaging.
Need Help?
If you encounter any issues or have questions during the setup, please refer to the Firebase documentation or contact our support team for assistance.
Last updated