Firebase solutions portal
What can you do with Cloud Functions?
Cloud Functions gives developers access to Firebase and Google Cloud events, along with scalable computing power to run code in response to those events. While it's expected that Firebase apps will use Cloud Functions in unique ways to meet their
- Concept
- Cloud Functions for Firebase
- 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
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
- 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
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
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
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
- Firestore
- Firebase
Measure ad revenue
Measure your revenue sources to help you understand the lifetime value of your users and grow your app business.
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
What can you do with Remote Config?
App developers use Remote Config in many different ways to suit their unique requirements, and we encourage that. To give you an idea of the kinds of things you can do with Remote Config, this page describes some use cases with broad applicability to
- Concept
- Firebase
- Firebase Remote Config
Clear and export end-user data
Learn about options to help your users control their data.
- Tutorial
- Firebase Authentication
- Firebase
- Cloud Functions for Firebase
- Firestore
- Firebase Realtime Database
Best practices for distributing Apple apps to QA testers using CI/CD and fastlane
Make your Apple platform pre-release testing workflows sustainable and repeatable in a CI/CD environment.
- Best practices
- Firebase
- Firebase App Distribution
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
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
- Firestore
- 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
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
- Firebase
- Firestore
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
What can you do with Firebase In-App Messaging?
Engage your audience in meaningful ways with modifications to the style, targeting, and scheduling of your messages entirely through the Firebase console. Firebase In-App Messaging offers message templates for you to experiment with and customize
- Concept
- Firebase
- Firebase In-App Messaging
Customize a welcome back screen
Customize your app's welcome back screen for a repeat user based on their preferences or activity in your app.
- Tutorial
- Firebase Remote Config
- Firebase
- Google Analytics
Message your users with FCM and FIAM on Android
Learn how to communicate with users and build business with Firebase Cloud and In-App Messaging.
- Pathway
- Firebase In-App Messaging
- Firebase Cloud Messaging
- Firebase
Measure ecommerce
Learn how to measure ecommerce-based user interactions with products across your users' shopping experiences.
- Tutorial
- Google Analytics
- Firebase Analytics
- Firebase
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
- 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
Measure in-app purchases
Learn how to set up and measure in-app purchases using the Apple App Store and Google Play Store.
- Tutorial
- Google Analytics
- Firebase
- Firebase Analytics
Best practices for distributing Android apps to QA testers using CI/CD
Make your Android pre-release testing workflows sustainable and repeatable in a CI/CD environment.
- Best practices
- Firebase
- Firebase App Distribution
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
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
- Firebase Authentication
Use monorepos with App Hosting
Deploy Nx-based monorepo apps with App Hosting.
- Tutorial
- Firebase App Hosting
- Firebase
Test your web app locally, share changes with others, then deploy live
Learn how to view and test changes locally and interact with emulated resources. Then, create preview URLs for others to view and test your site.
- Tutorial
- Firebase Hosting
- 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
- Firebase Hosting
- Cloud Run
- Firebase
- Cloud Functions for Firebase
Use Firebase in a progressive web app (PWA)
Firebase offers several services that can help you efficiently add progressive features to your app to meet many PWA best practices.
Build your first web app with Firebase
Learn the basics of the Firebase app development platform and build your first app using Firebase.
- Pathway
- Firestore
- Firebase Authentication
- Firebase
- Firebase Hosting
Integrate Firebase with a Next.js app
Learn how to integrate Firebase with a Next.js app.
- Codelab
- Firebase App Hosting
- Firebase
Avoid surprise bills
Review these best practices to help you understand your costs and how to avoid surprise bills during development and for your production apps.
- Best practices
- Firebase
Tutorial: Measure Google Ads conversions from your iOS app campaigns
Google's on-device conversion measurement improves the number of observable conversions from your iOS app campaigns while keeping users' personal data private.
- Tutorial
- Firebase
- Google Analytics
- Firebase Authentication
Develop locally with Firebase
Learn to develop and run apps in local environments with Firebase.
- Pathway
- Firebase
- Cloud Functions for Firebase
- Firebase Authentication
- Firebase Hosting
- Cloud Storage for Firebase
- Firebase Realtime Database
- 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
- Firebase Authentication
Tutorial: Optimize hybrid monetization using AdMob, Google Analytics, and Firebase
Create a balanced monetization strategy for all segments of your user base, both purchasers and non-purchasers.
- Tutorial
- Admob
- Google Analytics
- Firebase
- Firebase Remote Config
Tutorial: Optimize AdMob ad frequency using Firebase
Use A/B testing to make data-driven decisions about optimal ad frequency.
- Tutorial
- Admob
- Firebase A/B Testing
- Firebase
- Google Analytics
- Firebase Remote Config
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
Process payments with Firebase
Using Stripe and Firebase, you can process payments in your app without building your own server infrastructure.
- Tutorial
- Firebase
- Firebase Extensions
Tutorial: Test adoption of new AdMob ad formats using Firebase
Use A/B testing to make data-driven decisions about adopting new ad formats.
- Tutorial
- Google Analytics
- Firebase A/B Testing
- Admob
- Firebase
- Firebase Remote Config
Use Firebase Remote Config with Analytics
When you build an app that includes both Firebase Remote Config and Google Analytics, you gain the ability to understand your app users better and to respond to their needs more quickly. You can use Analytics audiences and user properties to
- Concept
- Google Analytics
- Firebase Remote Config
- Firebase
Set up advanced billing alerts and logic
Learn how to create sophisticated customized logic to control how you receive alerts for billing updates and even programmatically respond to them.
- Concept
- Firebase
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
- Firebase App Check
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
- Firestore
- Firebase App Hosting
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
AngularFire web codelab
In this codelab, you’ll learn how to use the Firebase platform on the web by building a chat app.
- Codelab
- Firebase App Hosting
- 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
- Firebase
- Flutter
Send notifications for a web app using Cloud Messaging and Cloud Functions
In this codelab, you’ll learn how to use Cloud Functions for Firebase to send notifications to users of a chat app.
- Codelab
- Firebase Cloud Messaging
- Cloud Functions for Firebase
- Firebase
Create fast and stable apps with Firebase
With real-time app performance data that allows you to spend less time putting out fires, you can devote more time to creating delightful experiences knowing that no bug or glitch will slip through the cracks.
- Pathway
- Firebase
- Firebase Performance Monitoring
Get to know Firebase for Flutter
Learn how to build a Flutter mobile app with Firebase.
- Codelab
- Firestore
- Firebase Authentication
- Flutter
- Firebase
- Android
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
- Firebase
- Firebase Hosting
- Firestore
- Firebase Authentication
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
- Firebase App Hosting
- Firestore
- Firebase Genkit
Vinwap Case Study
Vinwap increases ad revenue by 30% with Firebase A/B Testing and Remote Config
- Google Analytics
- Firebase Remote Config
- Firebase
- Firebase A/B Testing
Qtonz Case Study
Qtonz uses Firebase to boost ad revenue by 4x and grow engagement
- Firebase Remote Config
- Firebase A/B Testing
- Firebase
- Google Analytics
- Admob
Playbuzz Case Study
Playbuzz marketing team easily wins independency to configure ads based on app insights
- Firebase Remote Config
- Firebase Cloud Messaging
- Firebase
eBay Case Study
eBay Motors uses Firebase ML to quickly categorize images, reduce costs and improve user experience
- Firebase ML
- Firebase
Tapple Case Study
Tapple uses Firebase Remote Config to increase subscriptions by 8%
- Google Analytics
- Firebase
- Firebase Remote Config
- Firebase A/B Testing
- Firebase Crashlytics
Pomelo Case Study
Pomelo Games uses Firebase to increase revenue by up to 35% without losing players
- Admob
- Firebase
- Google Analytics
- Firebase Remote Config
- Firebase A/B Testing
Ahoy Games Case Study
Ahoy Games increases purchases by 13% with Remote Config personalization
- Firebase
- Firebase Remote Config
Halfbrick Case Study
Halfbrick increases revenue by 16% with Remote Config personalization
- Admob
- Google Analytics
- Firebase
- Firebase Remote Config
Mobills Case Study
Mobills increases subscriptions by 15% with Firebase Remote Config
- Firebase Remote Config
- Firebase
- Firebase A/B Testing
STAGE Case Study
STAGE uses Firebase and Flutter to cut release time in half
- Firebase A/B Testing
- Admob
- Firebase Remote Config
- Google Analytics
- Firebase
Tamedia Case Study
Tamedia increases subscriber conversion with custom alerts
- Firebase
- Google Analytics
- Firebase In-App Messaging
Gameloft Case Study
Gameloft boosts revenue up to 25% with Firebase Predictions
- Firebase
- Firebase Crashlytics
Acintyo Case Study
Acintyo uses Firebase to streamline and speed up app development by 25%
- Firebase Remote Config
- Firebase
NPR Case Study
NPR gains valuable insights into user behavior with Google Analytics for Firebase
- Google Analytics
- Firebase A/B Testing
- Firebase Remote Config
- BigQuery
- Firebase
CrazyLabs Case Study
CrazyLabs Uses Firebase Remote Config to Maximize Revenue at Scale
- Firebase Remote Config
- Firebase
- BigQuery
- Admob
Tapps Games Case Study
Tapps Games increases crash free user rate and improves ratings with Crashlytics and Remote Config
- Firebase
- Firebase Remote Config
- Firebase Crashlytics
Le Figaro Case Study
Le Figaro, established in 1826, is France's oldest and largest daily morning newspaper. The company's mission is to provide timely, digestible and engaging news to their readers.
- Firebase
- Firestore
- Firebase Cloud Messaging
- Cloud Functions for Firebase
- Firebase A/B Testing
Onefootball Case Study
Onefootball increased users' sessions by 5% by testing features before releasing them
- Firebase Remote Config
- Google Analytics
- Firebase A/B Testing
- Firebase
Doodle Case Study
Doodle increases user engagement 42% with Crashlytics and Firebase
- Firebase Crashlytics
- Firebase
- Firebase Remote Config
Hotstar Case Study
Hotstar scales with Firebase and increases engagement by 38%
- Google Analytics
- Firebase
- Firebase Crashlytics
- Firebase Remote Config
KCB Group Case Study
KCB Group lowers cost per install 24% with Google Analytics for Firebase
- Firebase
- Google Analytics
GameNexa Case Study
GameNexa Studios uses Firebase to double in-app purchase revenue and diversify monetization strategy
- Firebase
- Google Analytics
- Firebase Remote Config
- Firebase Performance Monitoring
- Admob
- Firebase Crashlytics
- Firebase A/B Testing
American Express Case Study
Firebase Test Lab for Android reduced American Express app test costs by 50%
- Firebase
- Firebase Test Lab
Hawkin Dynamics Case Study
Hawkin Dynamics levels up their product in 2 weeks instead of months
- Firebase
- Cloud Functions for Firebase
- Firestore
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
- Android
- Firebase
- Firebase ML
- TensorFlow
Add Recommendations to your app with TensorFlow Lite and Firebase - Android Codelab
In this codelab, you’ll learn how to create a content recommendation engine for your app using Tensorflow and Firebase.
- Codelab
- Android
- Firebase
- TensorFlow
- Firebase ML
- Google Analytics
Add Recommendations to your app with TensorFlow Lite and Firebase - iOS Codelab
In this codelab, you’ll learn how to create a content recommendation engine for your app using Tensorflow and Firebase
- Codelab
- Google Analytics
- Firebase
- TensorFlow
- Firebase ML
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
- Firebase ML
- Firebase
- TensorFlow
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
- Firestore
- Firebase
- 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
- Gemini
- Firebase Extensions
Local Development with the Firebase Emulator Suite
Learn how to develop a web app with the Firebase Emulator Suite.
- Codelab
- Firestore
- Firebase Hosting
- Cloud Functions for Firebase
- Firebase Authentication
Protect your Firestore data with Firebase Security Rules
Learn how to protect your Firestore data with Security Rules
- Codelab
- Firebase
- Firestore
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 Remote Config
- Firebase App Check
Send and receive notifications for a Flutter app using Firebase Cloud Messaging
In this codelab, you use the FCM HTTP v1 API to send push notifications to an app running on multiple platforms. You build the app using Flutter, which runs seamlessly on Android/iOS/Web.
- Codelab
- Firebase
- Firebase Cloud Messaging
Alert testers about your new app releases with Firebase App Distribution Android SDK - Codelab
Get your latest version into the hands of testers fast, with the App Distribution Android SDK. In this codelab, you’ll update an app to display in-app notifications to your testers when new releases are available.
- Codelab
- Firebase App Distribution
- Firebase
- Android
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
Effectively engage users with Firebase
Learn how to deliver targeted messaging campaigns to users, and maximize the effectiveness of those campaigns with delivery and engagement data.
- Pathway
- Firebase Cloud Messaging
- Firebase
- Firebase In-App Messaging
Realtime on-device In-app-purchase optimization Codelab
In this codelab you’ll learn how to deploy a TFLite model to personalize your app for each user and optimize in-app-purchase
- Codelab
- TensorFlow
- Firebase A/B Testing
- Firebase Remote Config
- Google Analytics
- Android
- Firebase
- BigQuery
- Firebase ML
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
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 Authentication
- Firebase Realtime Database
Performance Monitoring of Feature Rollouts
In this codelab, you’ll learn how to add Firebase Performance Monitoring to a sample app and measure the performance during a feature rollout.
- Codelab
- Android
- Firebase
- Firebase Performance Monitoring
Integrate Test Lab into your CI/CD system
This codelab walks you through using the gcloud CLI to programmatically run a large test suite in an existing CI/CD system like Jenkins. This codelab is platform independent.
- Codelab
- Firebase
- Firebase Test Lab
Measure load time and screen rendering with Firebase Performance Monitoring
In this codelab, you’ll build a sample app and learn how to measure the load time and screen rendering with Firebase Performance Monitoring.
- Codelab
- Firebase
- Android
- Firebase Performance Monitoring
Alert testers about your new app releases with Firebase App Distribution iOS SDK - Codelab
Get your latest version into the hands of testers fast, with the App Distribution SDK. In this codelab, you’ll update an app to display in-app alerts to your testers when new builds are available.
- Codelab
- Firebase
- Firebase App Distribution
Your first multicast push message using FCM topics
In this codelab, you’ll learn how to multicast a push message to a select group of your app instances, using FCM topics.
- Codelab
- Firebase Cloud Messaging
- Android
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