Skip to content

Automatic Firebase setup

The Auto-Setup Runner is an automatic process that configures all Firebase services when you publish your app. It runs after the Firebase setup and configures everything your active modules need.

The Auto-Setup Runner automatically performs the following steps:

Firestore rules

Security rules for all active modules are deployed. Each module brings its own rules.

Firestore indexes

All required database indexes are created so queries run fast and efficiently.

Storage rules

Security rules for file storage are configured — with size and type restrictions.

Auth methods

Email/password and anonymous are enabled in Firebase. Social login providers require manual configuration.

Admin account

Your first administrator account is created with owner rights.

Data migration

Content from the developer database is transferred to your customer Firebase.


  1. Complete the Firebase setup

    After you’ve set up your project and service account in the Firebase publish setup, the Auto-Setup Runner starts automatically.

  2. Progress display

    You see a progress display with all steps. Each step shows its current status:

    StatusMeaning
    PendingStep has not started yet
    In progressStep is currently running
    CompletedStep finished successfully
    FailedAn error occurred
  3. Automatic execution

    All steps run automatically one after another. You don’t need to do anything — just wait until the runner is finished.

  4. Completion

    After successful completion, your Firebase is fully configured and ready for publishing.


The runner collects the security rules of all active modules and deploys them together:

  • User profiles — read/write permissions for profile data
  • Follow relationships — relationships between users
  • Feed posts — posts, likes, comments
  • Chat messages — private messages
  • Forum threads — discussions and replies
  • And more — each active module brings its own rules

Database indexes speed up queries considerably. The runner creates all required indexes:

  • Profile search by name
  • Popular profiles
  • Follower lists
  • Feed sorting
  • And more, depending on the active modules

Rules for file storage:

  • Who can upload files
  • Maximum file sizes
  • Allowed file types
  • Access rights per path

The following auth methods are enabled automatically:

MethodAutomaticManual
Email/passwordYes-
AnonymousYes-
Google-Yes (OAuth setup required)
Apple-Yes (OAuth setup required)
Facebook-Yes (OAuth setup required)
Other social login-Yes (OAuth setup required)

The runner creates your first admin account using the data you entered on the publish review screen:

  • A Firebase Auth account is created
  • The owner role is stored in Firestore
  • You can log in immediately after publishing

More on this: Admin account

Content you created in the App Builder is transferred to your customer Firebase:

  • News articles
  • Wiki entries
  • FAQ entries
  • Blog posts
  • And other admin-created content

The entire process runs automatically. You don’t need to:

  • Copy and paste any rules
  • Create any indexes manually
  • Enable any auth providers in the Firebase Console
  • Create an admin account manually

Everything is handled by the Auto-Setup Runner.


Problem: A step shows the status “Failed”.

Solutions:

  • Check the error details (shown below the step)
  • Make sure the service account is set up correctly
  • Check that all 7 roles were assigned
  • Tap “Retry” to repeat the failed step

Problem: The runner doesn’t have enough permissions.

Solutions:

  • Check the service account’s roles in the Google Cloud Console
  • Make sure Firebase Admin and Cloud Datastore User in particular are assigned
  • Wait a few minutes — new permissions sometimes take time to take effect

Problem: Indexes show the status “Building” for a long time.

Solutions:

  • This is normal — indexes can take up to 10 minutes
  • The runner does not wait for index creation but continues with the next step
  • Check the status later in the Firebase Console under Firestore > Indexes