Try Gemini in the Firebase console

After you set up Gemini in Firebase, you can start using it to enhance your Firebase developer experience.

To open the Gemini pane:

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 spark 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:

  1. 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.

  2. 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
contact_support Get help: Search the developer documentation, contact support, and check Firebase service status.
spark When the Help view is active, toggle Gemini in Firebase chat.
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:

  1. Open the Crashlytics page in your project and select your app.
  2. Locate and select a crash you want to investigate. The Crashlytics event page appears, providing a Generate AI insights button.

  3. 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.