Create your designs in Google Stitch

- In Google Stitch, write a prompt that describes the app you want to build. For exmple:
Build a meal planning web app with a vibrant, colorful, and playful theme. Include a meal selection page, a shopping list, and a weekly schedule. - Select the app type (mobile app or website).
- Optionally, select a design system. You can also describe the visual style you want in the prompt instead.
- Optionally, select a Gemini model. More advanced models may produce more complete designs.
- Send your prompt and wait for Stitch to generate your pages and design system.
Refine your designs in Stitch
Before bringing your designs to Bolt, refine them until you’re satisfied with how they look. You can adjust the colors, page text and layout, and design system details like fonts and button styles. For Stitch prompting tips and a full list of available options, see the Stitch documentation.Add your Stitch design system to Bolt
When you build out your designs in Bolt, you want Bolt to follow the same visual rules used in Stitch. To make this possible, you need to export your design system from Stitch as a Markdown file and add it to your Bolt project.- On the Google Stitch canvas, click your design system.
- To review its contents, click Modify > Edit, then select the DESIGN.md tab.

- To download your design system file, click More, then click Download.
- On the Bolt homepage, attach the document in the chat and prompt Bolt to save it. For example:
I attached a design system to use with this project. Save this document as a Markdown file in the project root. - To see the contents of your design system in Bolt, click the Code icon in the top menu, then find the design system file in your file structure.

Import your pages into Bolt
In Stitch, you can export each page as code, then paste it into Bolt and ask Bolt to build. For best results, import one page at a time. For each page in your Stitch project:- In Google Stitch, select the page you want to export.
- Click Export, click Code to Clipboard, then click Copy.

- In Bolt, paste the code into the chat and prompt it to build out the page.
Add a database
At this point, your app’s pages are built out in Bolt, but the data is hard-coded, which means that it’s written directly into the page. Since you’ll want the ability to add to or change your app’s data, you need to add a database.- Prompt Bolt to create a database based on your app’s content. For example:
Using your knowledge of how the recipes appear in the UI across all the app's pages, create a database to store the recipe and ingredient information. Include properties like names, tags, images, and any other properties needed. - After Bolt generates the database, check that your tables have the correct information. To learn how to access your database information, see Tables.
Add a design system rule to Project Knowledge
Project Knowledge provides context that Bolt uses whenever you work on your project. Add a design system rule here so you don’t have to remind Bolt to follow your visual guidelines in every prompt.- In your Bolt project, click the gear icon at the top of the screen, then click Knowledge.
- Add a rule instructing Bolt to reference your design system file when building new parts of the app. For example:
Whenever building out new parts of the app, reference the design system Markdown file for design guidelines.

- Click Save Prompt.
- To test, prompt Bolt to generate a new component and verify that the output matches your design system.