Firebase integration

Use Firebase Cloud Messaging (FCM) if your organization has its own app or a custom notification flow.

About this integration

This integration is for organizations that:

  • Have their own app; or
  • Want to control a custom notification flow.

If you use the standard moschee.io app, you usually don’t need this setup.

Prerequisites

  • Access to the Firebase Console
  • A Google account with access to your app project

Setup

Generate service account JSON

  1. Open the Firebase Console.
  2. Select your project.
  3. Click the gear next to "Project overview" and choose Project settings.
  4. Go to the Service accounts tab.
  5. Click Generate new private key.
  6. Confirm and save the JSON file to your computer.

Upload to moschee.io

  1. In the moschee.io dashboard go to Settings > Integrations > Firebase.
  2. Open the downloaded JSON file in a text editor.
  3. Copy the full contents.
  4. Paste it into the Service Account JSON field.

Save and test

  1. The content is validated automatically—look for the green check.
  2. Click Connect Firebase (or Update account).
  3. After saving you’ll see a confirmation.

Common issues

Next steps