Skip to main content

Generate FCM service account private key json

Overview

Nuclei SDK uses Firebase Cloud Messaging (FCM) for device push notifications.
To enable this, partners need to integrate FirebaseMessagingService into their app and share the Service Account private key JSON file with Nuclei.


Steps to generate :

  1. Open Firebase Console

  2. Navigate to Project Settings

    • In the left sidebar, click on the Settings (gear icon).
    • Select Project settings.
  3. Service Accounts Tab

    • Go to the Service accounts tab.
    • Click on Generate new private key.

Firebase Service Account Example

  1. Download the JSON File
    • A .json file containing the private key will be downloaded.
    • Share this generated file with Nuclei

Security Notes

  • Store the private key file in a secure location.
  • Avoid committing it to version control systems (e.g., GitHub, GitLab).
  • If compromised, disable the key immediately from the Firebase console and generate a new one.