OrdioDocumentation
Version 1.0.0
Installation guide →
Start here

Firebase setup

Open the Firebase Console, select Add project, enter a project name and finish the project setup. Google Analytics is optional for Ordio.

1. Create a Firebase project

Open the Firebase Console, select Add project, enter a project name and finish the project setup. Google Analytics is optional for Ordio.

2. Enable billing

Change the project to the Blaze plan. Cloud Functions require a billing-enabled project. Set a Google Cloud budget alert so the account owner receives usage notifications.

3. Register the Web App

In Project settings > General, add a Web App. Give it a recognizable name such as Ordio Web.

Keep the Firebase configuration screen open. The next guide will use these values:

  • apiKey
  • authDomain
  • projectId
  • storageBucket
  • messagingSenderId
  • appId

4. Enable Authentication

Open Authentication > Sign-in method.

  • Enable Email/Password for the administrator.
  • Enable Phone for customer verification.
  • Review the SMS region policy and allow the countries where customers will order.

5. Create Firestore

Open Firestore Database, select Create database, choose Production mode and select a region near the business. Keep the selected region for the rest of the installation.

6. Enable Storage

Open Storage and complete the setup. Ordio uses Storage for logos, hero images and product images.

7. Connect the Firebase CLI

Copy .firebaserc.example to .firebaserc. Replace your-firebase-project-id with the project ID shown in Firebase Project settings.

Run the pinned Firebase CLI with npm. The --yes option approves the temporary CLI download automatically, so npm does not stop for an installation confirmation:

text
npm exec --yes firebase-tools@15.24.0 -- login
npm exec --yes firebase-tools@15.24.0 -- projects:list
npm exec --yes firebase-tools@15.24.0 -- use --add

The first command opens a browser so you can sign in to Google. Return to the terminal after sign-in, confirm that your project appears in the list, then select it when the final command asks which project to use. The project ID then appears in .firebaserc.

8. Check Firebase before continuing

  • The project is on the Blaze plan
  • A Web App is registered
  • Email/Password Authentication is enabled
  • Phone Authentication and the required SMS regions are enabled
  • Firestore is created
  • Storage is enabled
  • A budget alert is configured
  • .firebaserc contains the correct project ID

A service-account JSON file is not required. Continue to Configuration.

Ordio documentation - Updated 9 August 2026Your hosting. Your data.