Build Your First Google AI Studio App: Brief and Review
Google AI Studio can build a web app prototype from a description without requiring users to write every part themselves. Calculations, data storage, and errors still need checking before sharing it. This article uses a small task with independently calculable answers to explain how to specify and review the work.

Set acceptance criteria before generating a prototype
Want a small app but are not ready to write all its code yourself? Google AI Studio Build mode takes a description and creates code and a preview. You can then request changes in chat or inspect the Code tab. Google's Build mode documentation says the starting web app uses React and a server-side Node.js runtime. The example in this article instead specifies that entries and totals stay in the browser, with no additional API calls.
Before writing the prompt, you need rules about accepted inputs, calculations, and rejected values rather than every line of code. The app's owner remains responsible for correctness and security, especially before handling real money or personal data.
Start with a small task you can verify yourself
Try a hypothetical income-and-expense tracker in baht without linking a bank account, database, or another AI service. Open Google AI Studio enter Build mode, and use this example prompt:
สร้างเว็บแอปบันทึกรายรับรายจ่ายภาษาไทยสำหรับทดลองใช้
- มีช่องวันที่ รายการ ประเภท (รายรับ/รายจ่าย) และจำนวนเงินเป็นบาท
- แสดงยอดรายรับรวม รายจ่ายรวม และคงเหลือ
- รับจำนวนเงินมากกว่า 0 และทศนิยมไม่เกิน 2 ตำแหน่ง
- คำนวณเป็นจำนวนเต็มหน่วยสตางค์ แล้วแสดงผลเป็นบาททศนิยม 2 ตำแหน่ง
- ปฏิเสธช่องว่าง ข้อความ จำนวนศูนย์ ค่าติดลบ และทศนิยมเกิน 2 ตำแหน่ง
- ใช้ข้อมูลตัวอย่างสมมติ ห้ามเชื่อมบัญชีหรือขอข้อมูลส่วนตัว
- ให้ข้อมูลรายการและการรวมยอดอยู่ในเบราว์เซอร์ของผู้ทดลอง
- ยังไม่ต้องมีระบบสมาชิก ฐานข้อมูล หรือการส่งรายการไปบริการภายนอก
- เพิ่มปุ่มล้างข้อมูลทดลองพร้อมถามยืนยัน
- อธิบายว่าเมื่อรีเฟรชหน้า ข้อมูลจะคงอยู่หรือหายไปตามโค้ดจริง
If you type only “money tracker app,” the AI must fill in gaps about storage, access, and how to handle negative values. The prompt above spells out these rules before generation.
Compare the app’s output with independently calculated answers
Once the preview opens, do not judge by appearance alone. Enter the hypothetical data in the table and compare it with answers you calculated yourself. These are suggested test cases for readers, not results from an app KrobClick has tested.
| What you enter | The result you should get | Review points |
|---|---|---|
| Income 1,200 baht and 350 baht | Total income 1,550 baht | Addition and number formats |
| Add an expense of 500 baht | Remaining 1,050 baht | Subtraction and balance |
| Enter the amount as text. | Report an error; do not add an item | Checking data types |
| Enter the amount −10 baht | Rejects inputs under defined rules | Testing for negative values |
| Start a new set: income of 0.10 and 0.20 baht | Total income 0.30 baht | Handling satang and decimal display |
| Blank, 0, or 1.005 baht | Report an error; do not add an item | Values outside the rules |
| Press to clear data. | Ask for confirmation before deleting | Protection against accidental deletion |
Enter the first two rows in sequence, then clear the entries before testing 0.10 and 0.20 baht. The balance may go negative if expenses exceed income even though each entry must be positive. Those are rules for this example, not Google's defaults. A display ending in .00 does not prove the code calculates satang correctly.
After checking the totals, refresh the page, close the tab, and open another browser. Data held only in memory may disappear on refresh, while browser-stored data may remain on the same device. Do not call it a backup unless you have verified that such a system exists.
Fix one issue at a time and recheck
- Identify symptoms: Tell the entered information, the results, and the expected results, such as “enter 1,200 and 350, but the total is not 1,550.”
- Request a targeted edit: Please fix the totaling logic without changing storage format or adding external services
- Review the code: Open Code to check API calls and data storage, particularly secrets and user data
- Run the original test: Solving one problem may break another. Therefore, every case in the table should be tried again.
To continue developing, Google says you can edit code in AI Studio, download a ZIP, or sync with GitHub. Each path still requires you to check for bugs. The project editing and export documentation explains these options.
Check data, costs, and access before sharing a prototype
Use only made-up data while testing, not real account details, passwords, or personal documents. If you later add the Gemini API, Google says Build mode stores keys on the server by default for new apps. Developers still need to inspect their code and Secret settings. The guidance on managing Secrets covers this.
Before sharing a link, distinguish a shared test app from a publicly Published service. Google says people with shared access may view and copy the code. For Cloud Run, check account eligibility and deployment tier at the time: Starter Tier is for eligible accounts, while Standard deployment requires Billing. Do not assume everyone needs a card or everyone gets free access. The deployment terms give details. For per-user costs, see KrobClick's article on Google AI Studio app costs, which addresses a different question from whether the prototype works correctly.
The prompt's instruction not to send entries outside the browser is not evidence that generated code complies or a statement of AI Studio's data policy. Prompts sent to the AI still reach Google's service. If you cannot read the code, stick with made-up data and ask someone who can to check network calls and permissions before accepting real data. The same acceptance-testing approach applies to other work in the How to check an AI agent's work
A good first app has clear passing and failing criteria
Before sharing a prototype, say clearly what it does, what it does not support, and what kind of data to use. Try at least three cases whose answers you already know. If the app fails, fix it and rerun the tests before adding features.
Sources
- Google AI for Developers: Build apps in Google AI Studio
- Google AI for Developers: Develop full-stack apps in Google AI Studio
- Google AI for Developers: Deploying from Google AI Studio
- Google AI for Developers
Reviewed Google documentation on October 15, 2026, Thailand time. This article is based on documentation; we did not build or test an app on a real account. Prompts and expected results are hypothetical KrobClick examples, not product screens or experimental results. Features and account access may change.