Hosting & Infrastructure - Setup Guide
How to set up Firebase
Otto's honest, no-fluff walkthrough. Every step here is what we'd actually do if we were sitting at your keyboard. Real gotchas first, real steps second, and a link to the personalized version at the bottom.
What you're signing up for
Low for a developer. Firebase console + SDK install + a few config lines and you have auth + database + storage. Getting production-ready with security rules, indexes, and cost monitoring is the real
Read these before you start
- Firestore security rules are code-in-a-config. Misconfigured rules leak your entire database publicly. Every Firestore breach story is a missing rule [source: firebase.google.com/docs/rules and multiple public incident writeups on HackerNews].
- Firestore query model does NOT support joins, aggregations, or full-text search natively. You denormalize data or add Algolia/Meilisearch for search.
- Egress bandwidth from Cloud Functions is billed at Google Cloud rates (~$0.12/GB), which surprises apps serving large payloads.
- Firebase Analytics is free but sends data to Google for ad targeting (opt-out available). GDPR concerns apply.
- Realtime Database and Firestore are different products with different pricing and query models. Choosing the wrong one for the use case is a common early mistake.
The 7-step setup
- 1
Create your Firebase account
Sign up at the link below. Free tier available - no card required. Use your business email so you can invite teammates later.
Open Firebase signup - 2
Complete the initial onboarding
Skip the marketing questionnaires when you can. Fill only the fields that actually configure the product - name, timezone, your first workspace or project. If Firebase pushes you into a setup wizard, take it - it usually accelerates the first productive session.
- 3
Connect your existing tools
Wire Firebase into the rest of your stack. The integrations that most people set up first: Google Cloud Platform (Firebase runs on GCP), Google Analytics 4, BigQuery (Firestore export for analytics), Slack (Cloud Functions triggers), Stripe (via Cloud Functions), SendGrid, Twilio, all major OAuth providers, iOS and Android SDKs, JavaScript SDK, Flutter, Unity, Genkit (Google's GenAI frame.... Do these before importing data - clean integration first, data second.
- 4
Import your existing data (only what you'll actually use)
Do NOT bulk-import everything. Import the last 30 days of the ONE workflow you're moving over first. Prove it works. Then import more. Big-bang migrations are how Firebase deployments die in month 3.
- 5
Set up your first real workflow
Pick the single most-frequent task you'll do in Firebase - the daily-driver workflow. Configure it end-to-end. Use it live for a week. Do not touch any other feature yet. Adoption failure comes from teams trying to use everything on day one instead of the one thing that actually pays.
- 6
Add your team (if applicable) and set access
Once your solo workflow works, invite one teammate at a time. Watch them use it. The friction points you missed are the ones they hit. Fix those before scaling to more users. Never invite 20 people at once - you'll get 20 confused people and 0 useful feedback.
- 7
Compound with the right pairings
Recommend Firebase for mobile app builders, real-time apps, and MVP teams that want auth + database + storage in one SDK without running a backend. Recommend Supabase when the client wants the same benefits but on Postgres with SQL and open-source. Recommend traditional Postgres (Neon, PlanetScale, AWS RDS) when the client needs relational modeling. Warn about scaling costs on Blaze for high-traffic apps.
Pricing you'll hit
- **Spark (free) plan:** Firestore 1GB storage, 50k reads/day, 20k writes/day, 20k deletes/day. Auth up to 50k monthly active. Storage 5GB, 1GB/day download. Hosting 10GB storage, 360MB/day transfer. Cloud Functions no free invocations on Spark (must upgrade to Blaze). - **Blaze (pay as you go):** Metered usage above the free tier. Firestore about $0.06 per 100k reads and $0.18 per 100k writes. St...
Want it personalized to YOUR business?
Otto builds a custom Firebase setup for your exact context.
The steps above are the universal path. Run a 30-second scan and Otto tailors them to your industry, team size, existing stack, and the specific pain points you're trying to fix.
Get my personalized setup