Before you start using Gemini in Firebase, you must enable it in the Firebase console. Gemini in Firebase is enabled on a per-user, per-project basis and is available at no cost to all users.
Required permissions
To enable and use features of Gemini in Firebase requires certain IAM roles and permissions.
- Project members with the owner or editor IAM role can enable Gemini in Firebase and use its features.
- Project viewers cannot enable Gemini in Firebase. However, they can use its features, including Gemini in Firebase chat, and AI assistance in Crashlytics.
Set up Gemini in Firebase
After ensuring that your account has required permissions, you can enable Gemini in Firebase for your project.
Perform the following to enable Gemini in Firebase usage for your project.
As a project owner or editor, open the Firebase console, select a project, and click ✦Gemini in Firebase located in the upper-right console menu.
The Gemini pane appears.
Review the information that appears and click Get started.
You are now ready to accelerate your Firebase development with Gemini in Firebase. Learn more about interacting with Gemini in Firebase at Try Gemini in the Firebase console.
Turn off Gemini in Firebase
To turn off all Gemini for Google Cloud products including Gemini in Firebase and features that it supports, like AI assistance in Crashlytics, see Turn off the Gemini for Google Cloud API.
Troubleshoot Gemini in Firebase
If ✦Gemini in Firebase doesn't appear in the Firebase console, verify that the Gemini for Google Cloud API is enabled in the Google Cloud console.
Next steps
- Try Gemini in the Firebase console.
- Learn more about prompt optimization.