Firebase Setup
This step only appears if Firebase modules are active in your app (e.g. Feed, Chat, Forum, Notifications). It allows BLOCQ to automatically deploy Firestore security rules and data into your Firebase project.
Why Is a Service Account Needed?
Section titled “Why Is a Service Account Needed?”During publish, BLOCQ migrates the data from the development environment into your customer Firebase project and deploys the appropriate Firestore security rules. For this, BLOCQ needs a Firebase service account with sufficient permissions – just once.
What Happens Automatically?
Section titled “What Happens Automatically?”After providing the service account, BLOCQ handles the following automatically during the publish process:
- Firestore security rules are deployed to your Firebase project
- Cloud Functions are deployed (if active modules require them)
- Data migration – content you created in the App Builder is transferred to your Firebase project
Creating a Service Account
Section titled “Creating a Service Account”- Open the Firebase Console and select your project
- Go to Project Settings → Service Accounts
- Tap “Generate new private key”
- Download the JSON file
Uploading in the Wizard
Section titled “Uploading in the Wizard”- Tap “Select service account JSON” and choose the downloaded file
- Tap “Save” – the file is stored encrypted
Security Notice
Section titled “Security Notice”Next Step in the Wizard
Section titled “Next Step in the Wizard”After providing the service account, the wizard moves to Legal Pages.