Appearance
Firebase & Cloud Integration
Antigravity integrates with Google Cloud through Firebase Skills, Cloud Shell, and Cloud Workstations. Firebase Skills give agents deep context about Firebase APIs and best practices. Cloud Shell and Workstations come with Gemini CLI pre-installed. This lesson covers the cloud-native development workflow.

What you'll learn
- Firebase Skills give Antigravity agents context about Firebase Authentication, Firestore, Hosting, and Functions
- Cloud Shell and Cloud Workstations come with Gemini CLI pre-installed
- Agents can deploy to Firebase Hosting, manage Cloud Functions, and interact with Firestore
Build it
Cloud Shell
You do not need to install the tools manually in a Cloud Shell environment. Simply initialize the CLI directly.
bash
# Cloud Shell already has Gemini CLI installed
# Just authenticate and start
geminiCloud Workstations
For persistent development, configure a Cloud Workstation instance. Connect via SSH before launching the tools.
bash
# Cloud Workstations come with Gemini CLI pre-installed
# Create a workstation in the Google Cloud Console
# SSH in and start coding with Gemini CLIFirebase deployment
Deploy this app to Firebase Hosting. Use the Firebase skill for context.
First, build the production bundle. Then deploy to the staging channel.
If the deploy succeeds, deploy to production.What goes wrong
| Mistake | How you notice it | The fix |
|---|---|---|
| Firebase CLI not authenticated | Deploy fails with auth error | Run firebase login first. The agent can guide you but needs your credentials |
| Cloud Shell session times out | Agent stops mid-task | Cloud Shell sessions timeout after 1 hour of inactivity. Use Cloud Workstations for longer sessions |
Next: Enterprise Deployment