Client isolation is mandatory. Every client gets their own Firebase project. NEVER add a client app to applanta-ed830 or any other client's project. One client, one project, full stop.
Sign in with dev@applanta.app โ click Add project.
Use the client's business slug โ e.g., faith-decor-catering. Short, lowercase, hyphens only. Click Continue.
Toggle off Google Analytics unless the client specifically requested it. Simplifies the setup. Click Create project โ wait ~30 seconds.
In the project dashboard โ click Spark in the bottom-left โ Upgrade to Blaze โ enter billing info โ Confirm. Required for Cloud Functions v2.
Cost: $0/mo on free-tier usage. A single client app with normal traffic won't exceed free limits. Firebase only charges if usage spikes significantly โ which won't happen for a local small business app.
Left sidebar โ Build โ Realtime Database โ Create database โ select location: us-central1 โ Start in test mode โ Enable.
It will look like https://[project-id]-default-rtdb.firebaseio.com. Save this โ it goes in the app's Firebase config.
Click the gear icon (top-left) โ Project Settings โ Cloud Messaging tab โ scroll to "Web Push certificates" โ click Generate key pair.
Copy the key pair value that appears โ this is the VAPID public key. Save it to the client folder. It goes in the app's service worker and push subscription code.
Project Settings โ General โ scroll to "Your apps" โ click </> (Web) โ register app with the client's business name โ click Register app.
The config object will appear โ copy the entire block including apiKey, authDomain, databaseURL, projectId, storageBucket, messagingSenderId, appId. This is safe to include in front-end HTML.
Click gear โ Project Settings โ Service accounts tab โ click Generate new private key โ confirm โ download the JSON file.
Save immediately to: OneDrive/Client-Builds/[BusinessName]/firebase-service-account.json
This file grants admin access to the Firebase project. Never put it in the app's HTML or any public location.
Open the client's app in Claude Code โ paste the firebaseConfig object โ paste the VAPID key โ Claude wires push subscriptions, RTDB reads/writes, and service worker into the app.
Copy the Applanta push notification Cloud Functions template โ update the project references โ deploy with: firebase deploy --only functions --project [project-id]
Open the app on a real device โ accept push permissions โ trigger a test notification from the Firebase console โ confirm it arrives on the device.