FeaturesHow it worksPricingDocsBlog
Sign inGet started

Win back the shoppers who almost bought.

Get startedChat on WhatsApp

Product

  • Features
  • How it works
  • Pricing

Resources

  • Docs
  • Blog
  • Recovery guide

Company

  • Careers
  • Support

Legal

  • Privacy
  • Terms
  • Data Deletion

© 2026 Nerja AI · Customer Intent & Retention

support@nerja.ai·+880 1886-157091

Chat on WhatsApp
  • Nerja AI documentation
  • Quick start
  • How Nerja works
  • Install the Nerja Tag
  • Events the tag detects
  • Tag JavaScript API
  • Privacy & consent
  • Mobile SDK overview
  • Get the SDK
  • Android SDK
  • iOS SDK
  • Push notifications setup
  • Push templates
  • Deep links: app or website
  • Connect email (AutoSend, Resend, Amazon SES)
  • Connect SMS (Twilio, BulkSMSBD)
  • Connect WhatsApp (WAAPI, Meta, Twilio)
  • Connect push (Firebase)
  • Campaign types
  • Delivery, open and click tracking
  • Signed user ids
  • Permissions explained
  • API reference
  • Store integrations
  • Troubleshooting
  • FAQ

Push notifications

Push notifications setup

Connect Firebase, capture FCM tokens automatically, and understand what makes a push reachable.

Why Firebase#

Firebase Cloud Messaging (FCM) is the delivery network Google and Apple expose for pushes. Nerja sends through your Firebase project, so tokens, quotas and sender identity stay yours.

Connect Firebase#

  1. 1

    Create or open your Firebase project

    Firebase console → your project. Add your Android and/or iOS app (and a Web app for browser push).

  2. 2

    Download a service-account key

    Project settings → Service accounts → Generate new private key. You get a JSON file. Treat it like a password.

  3. 3

    Integrate in Nerja

    AI Connectors → Firebase (FCM) → Integrate. Paste or drop the JSON. Nerja verifies it with Google before saving anything. Nerja stores only the project id, service-account email and private key, encrypted.

    After connecting, the same dialog shows your app key and copy-paste snippets. To change the key, Disconnect and connect again.

How tokens are captured#

// From a campaign to a notification and back
Campaign
Nerja
Firebase (FCM)
Apple / Google
Device + SDK
  1. 1launch — only people with a token
  2. 2send with your service account
  3. 3route to the device
  4. 4notification arrives
  5. 5delivered · opened · clicked

You never paste tokens. When the SDK (or the browser) obtains an FCM token it registers it with the signed-in user. The lead then shows an FCM token in Intent Signals, and the person becomes reachable on push.

// what

One token per app install or browser. A person can have several.

// why

Nerja sends to every active token of the person and removes tokens Google reports as dead (uninstalled/expired).

iPhone: the APNs key#

FCM hands iOS pushes to Apple (APNs), so Firebase needs your Apple key: Apple Developer → Keys → create a key with “Apple Push Notifications service”, then upload the .p8 in Firebase → Project settings → Cloud Messaging → Apple app configuration. Without it Nerja shows: “Apple rejected this iOS push — upload your APNs authentication key…”.

Web push#

Browsers can receive pushes too (Chrome, Edge, Firefox, and Safari on iPhone when the site is added to the Home Screen). It needs your Firebase web config, a web push key (VAPID) from Cloud Messaging → Web configuration, a service worker, and the visitor's permission.

What it costs#

  • Firebase Cloud Messaging is free — the free Spark plan is enough.
  • iOS adds Apple's Developer Program fee (paid by the app owner, not by Nerja).
  • Google Play has its own one-time developer fee if you publish an Android app.

Built-in safeguards#

SafeguardWhat it does
No token, no sendA person without an FCM token is never messaged. A push-only campaign to people without tokens is refused at launch.
Daily capAt most 3 push notifications per person per 24 hours.
Quiet hoursPushes wait until the recipient's local daytime.
Do-not-contactSuppressed contacts are skipped before anything is sent.
Your site onlyA tap link must be on your website (Settings → Website); anything else is replaced by your store link.

Prefer to talk it through? Book a 30-minute call with the Nerja team.

PreviousiOS SDKNext Push templates

Something unclear or missing? Email support@nerja.ai and we will improve this page.

on this page

  • Why Firebase
  • Connect Firebase
  • How tokens are captured
  • iPhone: the APNs key
  • Web push
  • What it costs
  • Built-in safeguards