Tutorial: Build Websites with Google Stitch & AI Studio

Google Stitch turns a text prompt into a full design system, then hands it directly to AI Studio where Gemini builds a working React app in minutes. This tutorial walks through every step — from canvas to published URL, with side-by-side design variants and live filtering built in. The verified section flags where official documentation diverges from the video demo.


0

Build a Functional Multi-Page Website with Google Stitch and AI Studio

Google’s Stitch turns a single text prompt into a complete design system — then hands the output directly to AI Studio, where Gemini scaffolds a working React app in minutes. By the end of this walkthrough, you’ll be able to go from a blank canvas to a published, multi-page website with live filtering, without touching a line of code or briefing a designer.

  1. Navigate to Google Stitch and open a new project. The canvas interface resembles Figma: a large workspace where designs live as discrete screens you can arrange, compare, and iterate on.

  2. In the prompt bar, describe your desired site in plain language — or paste the URL of an existing site you want to reference. When given a URL, Stitch analyzes the live page and reverse-engineers its visual identity before generating anything.

Paste a reference URL into Stitch and it reverse-engineers the site's design system before generating screens
Paste a reference URL into Stitch and it reverse-engineers the site’s design system before generating screens
  1. Stitch returns a named design system — color palette, typography scale, button states — alongside an initial screen render. Review the stylesheet rationale in the left panel, then examine the rendered output on the right. This is your starting point for iteration.
  1. To generate variations, reference the screen by name in a follow-up prompt. Ask for two more versions with a changed hero image, or request headline copy swaps for split-testing — Stitch treats each screen as an addressable object. The canvas then populates with side-by-side variants in dark and light modes, sidebar and full-width layouts.
Stitch generates multiple page variants simultaneously — dark and light modes, sidebar and full-width layouts all in one canvas
Stitch generates multiple page variants simultaneously — dark and light modes, sidebar and full-width layouts all in one canvas
  1. Refine any screen by typing directly into the chat. Stitch surfaces suggestion chips for the most common next actions. For data-heavy designs like dashboards, you can paste an external URL (such as a leaderboard page) in an attempt to ground the displayed data.

Warning: this step may differ from current official documentation — see the verified version below.

Refine any section by typing directly in the chat — Stitch's suggestion chips surface the most useful next actions automatically
Refine any section by typing directly in the chat — Stitch’s suggestion chips surface the most useful next actions automatically
  1. Right-click the finished design on the canvas and select Export → AI Studio (Preview). The export panel also offers Figma, Jules, .zip, and clipboard options — AI Studio is the path to a functional, deployable app.
Hit Export → AI Studio to send your Stitch design directly to Gemini — no manual file prep required
Hit Export → AI Studio to send your Stitch design directly to Gemini — no manual file prep required
  1. AI Studio opens with the Stitch export already attached: a PNG screenshot, an HTML file, and a Markdown file. Confirm the assets are present, then prompt Gemini to build the app — for example, “Build me an app with screens that look like this. You can hotlink images from the HTML.” Gemini begins examining the UI elements and scaffolds a React + Tailwind project with a full file tree.
AI Studio receives the Stitch export as PNG, HTML, and Markdown — paste the prompt and Gemini starts building the functional app
AI Studio receives the Stitch export as PNG, HTML, and Markdown — paste the prompt and Gemini starts building the functional app
  1. Once the initial page is live in the preview panel, continue prompting additional pages by name — models page, compare page, history page. AI Studio preserves the existing layout, sidebar, and header across every new page it generates. Filtering and sorting logic is built in automatically; test it against your categories before moving to publish.

  2. Click Publish, select a Google Cloud project with billing enabled, and deploy to a public URL. The app goes live immediately under a generated URL. To connect a custom domain, manage that from inside Google Cloud after deployment.

The finished functional website running in AI Studio — the complete Stitch design rendered as a working multi-page React app
The finished functional website running in AI Studio — the complete Stitch design rendered as a working multi-page React app

How does this compare to the official docs?

The workflow the video demonstrates moves fast, but several steps — especially around data grounding and the AI Studio publishing flow — behave differently depending on which Gemini model and Cloud configuration you’re using, and the official documentation draws some important distinctions worth knowing before you ship.

Here’s What the Official Docs Show

The video moves through this workflow at demonstration speed, and Act 1 captures that energy well. This act layers in what the official documentation confirms, clarifies, and — in a few places — updates.

Step 1: Open a new Stitch project

No official documentation was found for this step — proceed using the video’s approach and verify independently.

Step 2: Prompt bar and reference URL

No official documentation was found for this step — proceed using the video’s approach and verify independently.

Step 3: Design system output

No official documentation was found for this step — proceed using the video’s approach and verify independently.

Step 4: Generate variations

No official documentation was found for this step — proceed using the video’s approach and verify independently.

Step 5: Refine in chat and paste the leaderboard URL

The site the video calls “LM Arena leaderboard” is currently branded Arena AI at lmarena.ai. As of March 31, 2026, the correct name is Arena AI — the URL is unchanged, but the name used in the tutorial is outdated. The default landing page is a chat/battle interface; the leaderboard is a separate sub-page accessed from the left sidebar navigation.

Arena AI homepage (lmarena.ai) — the site is now branded as Arena AI, not LM Arena. The leaderboard is a separate sub-page, not the default landing view.
📄 Arena AI homepage (lmarena.ai) — the site is now branded as Arena AI, not LM Arena. The leaderboard is a separate sub-page, not the default landing view.

On the URL-grounding behavior: the Gemini API documentation lists URL Context as a named built-in tool that must be explicitly invoked — it appears alongside Google Search and Code Execution in the capability list. As of March 31, 2026, URL grounding is not described as a passive paste behavior; it is a discrete tool you activate.

Gemini API capabilities page listing
📄 Gemini API capabilities page listing “URL Context” as an explicitly invoked built-in tool, not an automatic paste behavior triggered by dropping in a link.

No official documentation was found for how this URL-grounding behavior works inside the Stitch interface specifically — proceed using the video’s approach and verify independently.

Step 6: Export → AI Studio

No official documentation was found for this step — proceed using the video’s approach and verify independently.

Step 7: AI Studio opens with assets; prompt Gemini to build

The screenshots captured for these steps are from the Gemini API developer documentation at ai.google.dev — not from the AI Studio product interface at aistudio.google.com. These are separate properties: the API docs describe programmatic access, while AI Studio is the browser-based build environment the tutorial uses.

Gemini API documentation overview at ai.google.dev — the developer API reference, not the AI Studio product interface at aistudio.google.com where the tutorial workflow runs.
📄 Gemini API documentation overview at ai.google.dev — the developer API reference, not the AI Studio product interface at aistudio.google.com where the tutorial workflow runs.

The tutorial does not specify which Gemini model AI Studio uses when scaffolding your app. As of March 2026, documented options include Gemini 3.1 Pro, Gemini 3 Flash, and Gemini 3.1 Flash-Lite — each with different capability and cost profiles worth checking before generating multiple pages.

Gemini API model catalog as of March 2026, showing Gemini 3.1 Pro, Gemini 3 Flash, Gemini 3.1 Flash-Lite, and Veo 3.1 among the current available options.
📄 Gemini API model catalog as of March 2026, showing Gemini 3.1 Pro, Gemini 3 Flash, Gemini 3.1 Flash-Lite, and Veo 3.1 among the current available options.

No official documentation was found for the export import flow or the prompting workflow inside the AI Studio product interface — proceed using the video’s approach and verify independently.

Step 8: Generate additional pages with filtering

One gap the tutorial leaves open: Google AI Studio (aistudio.google.com) and Vertex AI Studio (part of Google Cloud’s Vertex AI platform) are distinct products. AI Studio is the free-tier developer interface the tutorial uses; Vertex AI Studio is enterprise-oriented with separate billing and access controls through Google Cloud. If you encounter documentation referencing Vertex AI Studio, it does not describe the same tool.

Google Cloud homepage section on Vertex AI, confirming Vertex AI Studio is a separate enterprise product from the Google AI Studio interface used in the tutorial.
📄 Google Cloud homepage section on Vertex AI, confirming Vertex AI Studio is a separate enterprise product from the Google AI Studio interface used in the tutorial.

No official documentation was found for AI Studio’s page-generation or filtering logic — proceed using the video’s approach and verify independently.

Step 9: Publish and connect a custom domain

Billing setup is required to deploy on Google Cloud — the $300 free-credit offer on the homepage does not eliminate that requirement. Attaching a billing account is part of the onboarding flow even when using free credits, which is consistent with the tutorial’s instruction to connect a project with billing enabled.

Google Cloud homepage confirming the $300 free-credit offer and the billing account requirement consistent with the step 9 publish flow.
📄 Google Cloud homepage confirming the $300 free-credit offer and the billing account requirement consistent with the step 9 publish flow.

As of March 31, 2026, connecting a custom domain on Google Cloud is not a single in-product step. Depending on your deployment target, it requires navigating to Cloud Domains, Firebase Hosting settings, or Cloud Run domain mapping — three distinct products. The tutorial implies a more unified flow than what the platform currently exposes.

Google Cloud product category structure — custom domain management requires navigating to a specific hosting product, not a unified
📄 Google Cloud product category structure — custom domain management requires navigating to a specific hosting product, not a unified “connect domain” option visible at the platform level.

No official documentation was found for the specific publish workflow or domain connection flow inside AI Studio — proceed using the video’s approach and verify independently.

  1. Gemini API | Google AI for Developers — Official Gemini API documentation covering current models, built-in tools including URL Context, and the distinction between the API reference and the AI Studio product interface.
  2. Arena AI: The Official AI Ranking & LLM Leaderboard — Current home of the AI model leaderboard referenced in step 5, now officially branded as Arena AI; the leaderboard is a sub-page navigated from the left sidebar.
  3. AI and Cloud Computing Services | Google Cloud — Google Cloud’s main platform page covering billing onboarding, Vertex AI Studio as a distinct enterprise product, and the separate hosting and domain management products relevant to step 9.

Like it? Share with your friends!

0

What's Your Reaction?

hate hate
0
hate
confused confused
0
confused
fail fail
0
fail
fun fun
0
fun
geeky geeky
0
geeky
love love
0
love
lol lol
0
lol
omg omg
0
omg
win win
0
win

0 Comments

Your email address will not be published. Required fields are marked *