After you set up Gemini in Firebase, you can start using it to enhance your Firebase developer experience.
To open the Gemini pane:
- Click ✦Gemini in Firebase, located in the upper right menu of the Firebase console.
The Gemini pane opens and persists across all pages in the Firebase console. You can now chat with Gemini and explore all of the features available in the Gemini pane.
If ✦Gemini in Firebase doesn't appear in the Firebase console, follow the steps in Set up Gemini in Firebase for a project to enable it.
Chat with Gemini
After you've opened the Gemini pane, you can immediately start a conversation with Gemini and begin asking questions using natural language.
The following steps demonstrate a conversation you might have with Gemini about Cloud Firestore. In this example, you ask Gemini to provide you with a basic set of Firestore rules and refine them together as you add requirements:
In the Ask me anything about Firebase field, enter a question and then click send Send. For example, you might ask something like the following:
When should I use a Remote Config rollout vs. an A/B Test?
Gemini displays its response.
Next, you can ask Gemini clarifying questions to expand on the conversation or paste code in and ask for advice.
You can continue the conversation, and continue sharing information and questions about the app and projects you're working on as you troubleshoot and Gemini will suggest improvements and optimizations and additional guidance.
Explore the Gemini pane in the Firebase console
The Gemini pane in the Firebase console has a number of features that simplify working collaboratively with the Gemini model.
Option | Action |
---|---|
notifications | View Firebase alerts. |
spark | Open Gemini in Firebase chat. |
contact_support | Get help: Search the developer documentation, contact support, and check Firebase service status. |
dark_mode | Choose a theme: Select a light or dark theme, or choose the device default. |
Clear the conversation. When you clear the conversation, all previous context is cleared and a new conversation session begins. | |
text_select_start | Dock the Gemini pane to a specific location on the console. You can choose to dock the pane to the left, top, right, or bottom. |
text_select_move_back_word | Undock the Gemini pane to return it to its original state. |
fullscreen | Maximize the Gemini pane to take up the entire console. |
fullscreen_exit | Restore the Gemini pane to its original size. |
Report an issue to the Firebase team about your experience with Gemini in Firebase. We encourage you to report bugs, suggest improvements, or provide general feedback. | |
close | Close the Gemini pane. |
Use AI assistance in Crashlytics
To use AI assistance in Crashlytics to generate insights about your crashes:
- Open the Crashlytics page in your project and select your app.
Locate and select a crash you want to investigate. The Crashlytics event page appears, providing a Generate AI insights button.
If you don't see a Generate AI insights button, verify that Gemini in Firebase has been enabled (for setup instructions, see Set up Gemini in Firebase). Also, make sure that you're viewing an Apple or Android event. Flutter, Unity, and Android NDK events and non-fatal events are not yet supported. And finally, ensure that the Insights section is expanded in the Crashlytics event page.
Click the Generate AI insights button.
Insights appear, with one or more of the following:
- an analysis of the crash with a possible cause
- debugging instructions
- actionable next steps
- best practices
Learn more at Get AI assistance in Crashlytics.