Firebase Studio shuts down on March 22, 2027. Push your app to GitHub, add your Gemini key and Firebase config, and it runs as a normal Next.js app.
Last updated
These are the defaults. Override any of them in Settings → Build.
The simplest path is pushing the workspace to GitHub:
.gitignore includes .env, so your Gemini key isn't uploaded.Alternatives: use “Move now” → “Zip and Download” in the workspace, or run npx firebase-tools@latest studio:export PATH, then push the folder to GitHub yourself. To keep your chat history, also zip /home/user/.idx/ai.
The App Prototyping agent builds Next.js apps with Genkit flows that call Gemini. A typical export has:
dev on port 9002 and genkit:dev scripts for local work, plus the standard build and start. We use build and start, so the 9002 port doesn't matter.src/ai/genkit.ts and src/ai/flows/: Genkit runs inside Next.js server code, so there's no separate AI server to deploy.apphosting.yaml and .idx/dev.nix: Firebase-only config. Leave them in the repo; we ignore them.In Studio, your keys lived in .envand App Hosting. Add them in the project's settings on EthioDeploy:
GEMINI_API_KEY: the Genkit Google AI plugin reads this first (it also accepts GOOGLE_API_KEY or GOOGLE_GENAI_API_KEY). Get a key from Google AI Studio if you don't have one.NEXT_PUBLIC_FIREBASE_* values your app reads. These are baked in at build time, so add them before the deploy.Some newer Studio apps hardcode the Firebase config in src/firebase/config.ts and first try initializeApp()with no arguments, which only works on App Hosting. They fall back to the hardcoded config and log an “Automatic initialization failed” warning. The app works; pass the config object directly to remove the warning.
Your Firestore data and Firebase Auth users stay in your Firebase project, and the app keeps talking to them from its new address. Two things to update:
<project-slug>.ethiodeploy.com and any custom domain. Google sign-in fails on unlisted domains.Studio templates ship next.config.ts with typescript.ignoreBuildErrors: true. The build passes, but type errors are hidden until they break at runtime. Run npm run typecheck locally (or ask the AI coding agent to fix the errors), then turn the flag off.
Placeholder images are loaded from hosts like placehold.co and picsum.photos, listed in images.remotePatterns. Swap them for your own images, and add any new image host there. Everything else in the Next.js guide applies.
<project-slug>.ethiodeploy.com. Every push to the default branch redeploys, and the old version keeps serving until the new one is healthy.AI features fail with an API key error
Cause: GEMINI_API_KEY isn't set on EthioDeploy.
Fix: Add it in Settings and redeploy.
Google sign-in fails with auth/unauthorized-domain
Cause: The new domain isn't in Firebase Authentication's authorized domains.
Fix: Add the ethiodeploy.com subdomain and any custom domain in the Firebase console.
Images fail with hostname is not configured under images
Cause: The image host isn't in next.config's images.remotePatterns.
Fix: Add the host to images.remotePatterns.
A page crashes in production but the build passed
Cause: ignoreBuildErrors hid a type error.
Fix: Run npm run typecheck, fix the errors, and turn the flag off.
A NEXT_PUBLIC_FIREBASE_ value is undefined in the browser
Cause: It wasn't set when the app was built.
Fix: Add it in Settings, then trigger a new deploy.
Still stuck? Check the deployment's build log in the dashboard, or see Troubleshooting.
When does Firebase Studio shut down?
March 22, 2027. New workspace creation and signups stopped on June 22, 2026. Existing workspaces can still be opened and exported until the shutdown, after which their data is deleted permanently.
Will my Firestore data and users be deleted?
No. Google says Firestore, Authentication, App Hosting and other Firebase services are not affected. Only the Firebase Studio development environment shuts down.
Do I have to move my hosting?
No. Firebase App Hosting is unaffected, and Google suggests Antigravity or Google AI Studio for editing. Move hosting if you want to leave Google Cloud billing, pay in Birr, or use an AI coding agent that deploys to the same place.
Can I keep editing the app with AI after moving?
Yes. EthioDeploy's agent mode reads, edits and runs your project's code in a sandbox, then opens a pull request you can review. Or edit locally with any AI editor and push to GitHub.
Ready to deploy? Sign in with GitHub and pick your repo. No Dockerfile, no YAML.
See the full docs for custom domains, env vars, addons, and billing.