Firebase solutions portal
Build presence in Cloud Firestore
Depending on the type of app you're building, you might find it useful to detect which of your users or devices are actively online — otherwise known as detecting "presence." For example, if you're building an app like a social network or deploying
- Tutorial
- Firestore
- Firebase
Write-time aggregations
Queries in Cloud Firestore let you find documents in large collections. To gain insight into properties of the collection as a whole, you can aggregate data over a collection. You can aggregate data either at read-time or at write time: Read-time
- Tutorial
- Firestore
- Firebase
Build your first web app with Firebase
Learn the basics of the Firebase app development platform and build your first app using Firebase.
- Pathway
- Firebase Authentication
- Firestore
- Firebase
- Firebase Hosting
Full-text search
Most apps allow users to search app content. For example, you may want to search for posts containing a certain word or notes you've written about a specific topic. Cloud Firestore doesn't support native indexing or search for text fields in
- Tutorial
- Firebase
- Firestore
Distributed counters
Many realtime apps have documents that act as counters. For example, you might count 'likes' on a post, or 'favorites' of a specific item. In Cloud Firestore, you can't update a single document at an unlimited rate. If you have a counter based on
- Tutorial
- Firestore
- Firebase
Geo queries
Many apps have documents that are indexed by physical locations. For example, your app might allow users to browse stores near their current location. Geohash is a system for encoding a (latitude, longitude) pair into a single Base32 string. In the
- Tutorial
- Firestore
- Firebase
Serve dynamic content and host microservices using Firebase Hosting
Use serverless computing options to host microservices by directing HTTPS requests to trigger functions and containerized apps to run in a managed, secure environment.
- Concept
- Cloud Functions for Firebase
- Firebase Hosting
- Firebase
- Cloud Run
General security guidelines for different development workflow environments
Learn about the most important best practices to ensure that each environment of your development workflow is secure.
- Best practices
- Firebase Authentication
- Firebase App Check
- Firebase
Develop locally with Firebase
Learn to develop and run apps in local environments with Firebase.
- Pathway
- Firestore
- Firebase
- Firebase Authentication
- Firebase Hosting
- Cloud Storage for Firebase
- Cloud Functions for Firebase
- Firebase Realtime Database
General best practices for setting up Firebase projects
Learn about the general, high-level best practices to set up Firebase projects and registering your apps with a project so that you have a clear development workflow that uses distinct environments.
- Best practices
- Firebase
Implement an AI-driven chatbot
Use Firebase Extensions to add an AI-driven chatbot to your app. You can use chatbots to improve customer service, market a new feature or service, provide sales quotes, or any number of use cases. Use this extension to easily deploy a chatbot using
- Tutorial
- Firebase
- Firestore
Firebase security checklist
Review this checklist of guidelines to help keep your Firebase resources and your users' data secure.
- Best practices
- Firebase App Check
- Firebase Authentication
- Firebase
Serve bundled Firestore content from a CDN
Many applications serve the same content to all users on first page load. For example a news site may show the latest stories, or an e-commerce site may show the best-selling items. If this content is served from Cloud Firestore, each user will issue
- Tutorial
- Firebase
- Firestore
Deploy multiple environments from a codebase
Deploy to multiple environments from the same codebase – for example, set your staging and production environments to have different configurations.
- Tutorial
- Firebase App Hosting
- Firebase
Enrich handling of text
Use Cloud Firestore and Firebase Extensions to enrich your ability to work with text assets. This extension allows you to summarize a field in a Cloud Firestore document using the PaLM API. Learn more. Use this extension to get toxicity scores for
- Tutorial
- Firestore
- Firebase
Where do I start with Firebase Authentication?
Choose the appropriate authentication option for your app based on your use case, experience, and app's architecture.
- Best practices
- Firebase Authentication
- Firebase
Integrate with BigQuery
BigQuery is a fully managed, petabyte-scale, and cost-effective analytics data warehouse that lets you run analytics over vast amounts of data. You can use the following Firebase Extensions to connect Cloud Firestore with BigQuery: Send real-time,
- Tutorial
- Firebase
- Firestore
Enrich value of media
Use Cloud Firestore and Firebase Extensions to unlock the value of your audio and image resources using AI models. Extract labels from images and save to Firestore using Cloud Vision API. Learn more. Transcribe audio files in Cloud Storage to.txt
- Tutorial
- Firebase
- Firestore
Use monorepos with App Hosting
Deploy Nx-based monorepo apps with App Hosting.
- Tutorial
- Firebase App Hosting
- Firebase
Get started with generative AI
This page helps you get started with implementing generative AI features in your app. It describes the features and integrations for Firestore that involve generative AI. Creating innovative AI-powered solutions for use cases such as
- Tutorial
- Firebase
- Firestore
Clear and export end-user data
Learn about options to help your users control their data.
- Tutorial
- Firebase Authentication
- Firestore
- Firebase
- Cloud Functions for Firebase
- Firebase Realtime Database
Secure data access for users and groups
Many collaborative apps allow users to read and write different pieces of data based on a set of permissions. In a document editing app, for example, users may want to allow a few users to read and write their documents while blocking unwanted
- Tutorial
- Firestore
- Firebase
Firebase launch checklist
Review this checklist before launch to make sure that your app and the Firebase products that it uses are ready for production.
- Best practices
- Firebase
Map Cloud Firestore data with Swift Codable
Swift's Codable API, introduced in Swift 4, enables us to leverage the power of the compiler to make it easier to map data from serialized formats to Swift types. You might have been using Codable to map data from a web API to your app's data model
- Tutorial
- Firebase
- Firestore
Add new functionality to your web app quickly with Firebase Extensions
In this codelab, you’ll add functionality to an online marketplace web app using Firebase Extensions.
- Codelab
- Firebase Realtime Database
- Firebase
- Firebase Extensions
Build gen AI features powered by your data with Firebase Genkit
Learn how to use Firebase Genkit to build generative AI features with the app development skills and tools you already know.
- Codelab
- Firebase App Hosting
- Firebase Genkit
- Firestore
- Firebase
Add a user authentication flow to a Flutter app using FirebaseUI
In this codelab, you’ll learn how to add Firebase Authentication to a Flutter app with only a few lines of code.
- Codelab
- Firebase Authentication
- Flutter
- Firebase
Get to know Firebase for web
Build a web app from scratch with Firebase and the StackBlitz online editor. You’ll use basic HTML and JavaScript to talk to Firebase. This is a great introduction to using the Firebase console and integrating Firebase into an app. No extensive prior knowledge or software installations are needed.
- Codelab
- Firestore
- Firebase
- Firebase Authentication
- Firebase Hosting
Get to know Firebase for Flutter
Learn how to build a Flutter mobile app with Firebase.
- Codelab
- Firestore
- Firebase Authentication
- Android
- Firebase
- Flutter
Build AI-powered web apps with Firebase Extensions for the Gemini API
Learn how to use Firebase Extensions with the Gemini API to build a web app with AI-powered features, like personalized recommendations.
- Codelab
- Firebase Extensions
- Firebase App Hosting
- Firestore
- Firebase
eBay Case Study
eBay Motors uses Firebase ML to quickly categorize images, reduce costs and improve user experience
- Firebase ML
- Firebase
Hawkin Dynamics Case Study
Hawkin Dynamics levels up their product in 2 weeks instead of months
- Firestore
- Cloud Functions for Firebase
- Firebase
Add on-device Text Classification to your app with TensorFlow Lite and Firebase - Android Codelab
In this codelab you’ll learn how to implement Text Classification using Firebase and TensorFlow Lite.
- Codelab
- Firebase ML
- Firebase
- TensorFlow
- Android
Add on-device Text Classification to your app with TensorFlow Lite and Firebase - iOS Codelab
In this codelab you’ll learn how to implement Text Classification using Firebase and TensorFlow Lite.
- Codelab
- TensorFlow
- Firebase
- Firebase ML
Local development for your Flutter apps using the Firebase Emulator Suite
Codelab outlining how to use the Firebase Emulator Suite during development with Flutter. The codelab will use the Auth and Firestore emulators to demonstrate emulator use.
- Codelab
- Flutter
- Firebase
- Firestore
- Firebase Authentication
Gemini API Firebase Extensions: Quickly enhance your app with generative AI
Learn how the Gemini API Firebase Extensions enable you to add Gemini to your apps without becoming an AI expert.
- Pathway
- Firebase Extensions
- Firebase
- Gemini
Gradually roll out Firebase App Check using Firebase Remote Config
You can use Firebase App Check with App Attest to protect your backend services and verify that requests to Firebase services are coming from your authentic app. It's generally recommended to onboard users gradually to the App Attest service to avoid
- Codelab
- Firebase App Check
- Firebase Remote Config
Protect your Firestore data with Firebase Security Rules
Learn how to protect your Firestore data with Security Rules
- Codelab
- Firestore
- Firebase
Local Development with the Firebase Emulator Suite
Learn how to develop a web app with the Firebase Emulator Suite.
- Codelab
- Firestore
- Cloud Functions for Firebase
- Firebase Authentication
- Firebase Hosting
Advanced Authentication features
Learn how to implement multi-factor authentication and create custom auth requirements with blocking functions
- Codelab
- Firebase Authentication
Protect your app from abuse with App Check
App Check uses platform-specific attestation providers to restrict access to traffic that's coming from your genuine apps. In addition to protecting your backend resources on Firebase, you can also use it to protect other resources or endpoints or your own server. Complete the playlist to learn about the versatility of App Check and how you can start using it today.
- Pathway
- Firebase App Check
- Firebase
Firebase Cross Device Codelab
In this codelab, you’ll build a simple music player for Android, iOS and Web, using Flutter. This player will connect to Firebase RTDB, which would allow users to synchronize playback across their devices.
- Codelab
- Firebase Realtime Database
- Firebase Authentication
Firebase App Check for Apple platforms
Firebase App Check helps protect your backend resources from abuse, such as billing fraud and phishing, by making sure requests come from legitimate apps and devices. It works with both Firebase services and your own backend services to keep your
- Codelab
- Firebase App Check
Build web apps backed by Cloud Firestore
Learn to efficiently and securely store and sync app data with Cloud Firestore.
- Pathway
- Firebase
- Firestore
Can't find the solution for your use case?
We're adding new solutions frequently, so make sure to check back again soon.
If you have an idea for a specific solution, we'd love to hear about it!
Tell us about your use case