✓ Reviewed August 2026 — reflects AI Studio's current Build mode
Part 2
Steps 4–6

Build Your App in AI Studio

Describe your idea, let Gemini build it, test it thoroughly — then prepare it for deployment.

Good news!You don't need to set up Google Cloud manually. When you start a new app in AI Studio's Build mode, a GEMINI_API_KEY is automatically generated and stored as a server-side secret for you — visible any time in the Secrets panel under Settings.
4
Access Google AI Studio's Build Mode

Go to aistudio.google.com and sign in with your Gmail account. Select Build in the left sidebar — this opens the agentic app builder, where Gemini writes, previews, and iterates on a full Vite + React + TypeScript project for you inside the browser.

5
Describe Your App Idea

Type what you want your app to do, or start from a template in the App Gallery. Example prompts:

example · game
"Create a trivia game about world geography with multiple difficulty levels, score tracking, and fun facts after each answer."
example · education
"Build a language learning assistant that helps users practice Spanish vocabulary and conversational phrases with interactive exercises."

AI Studio generates a working first version in well under a minute, then you can keep chatting with the agent to add features, or open the Code tab to edit files directly.

6
Test Your App ThoroughlyDon't skip

Use the live preview panel to test as you go. Check: Does the AI respond appropriately? Are there errors in the console? Does it handle unusual inputs gracefully? Keep refining your prompt and settings until you're satisfied.

💡
Pro Tip: Have someone else test your app to catch issues you might miss. Try edge cases — empty input, very long input, rapid taps.
🔐
Keys stay server-side. Because your Gemini API key is injected server-side by AI Studio's runtime, it's never exposed in the code you see in the browser — one less thing to worry about while you're in Build mode.
← Part 1Account Setup