Before you begin
- Labs create a Google Cloud project and resources for a fixed time
- Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
- On the top left of your screen, click Start lab to begin
Create a shopping agent from a Critical User Journey
/ 100
In this lab, you rapidly prototype a shopping agent in Google AI Studio. You create a Party Planner Shopping Agent for CymbalMart—a retail company—that helps customers plan events and generate shopping lists. Through this hands-on experience, you learn how to translate a Critical User Journey (CUJ) into a functional agent, enhance its features with Vibe Coding and natural language prompts, and validate it across diverse scenarios.
A Critical User Journey (CUJ) is a detailed map of the key steps and interactions customers perform to achieve a specific goal, capturing decision points and outcomes essential to their experience.
For deeper context, consider taking the associated course: Agentic Strategy: Discover, Design, and Prototype.
In this lab, you learn how to perform the following tasks:
Read these instructions. Labs are timed and you cannot pause them. The timer, which starts when you click Start Lab, shows how long Google Cloud resources are made available to you.
This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.
To complete this lab, you need:
Click Start Lab. The lab panel will display the temporary credentials for this lab.
Open Google AI Studio in an Incognito window. The Google sign-in page will appear.
Copy the Username below and paste it into the Email field, then click Next.
Copy the Password below and paste it into the Enter your password field, then click Next.
Accept any on-screen terms and conditions to proceed.
You are now logged into Google AI Studio using your temporary student account.
In this task, you create a Party Planner Shopping Agent based on a defined CUJ that helps CymbalMart customers plan parties and generate shopping lists.
Click the Get Started button and then accept the terms and conditions.
In the left navigation menu, click Build.
To enable Drive access, for Add files (+), click Drive, select your student account (for example, [student-username]), and then grant the necessary permissions.
In the main text prompt bar under "Build your ideas with Gemini", paste the following prompt to create your Party Planner Shopping Agent:
Click Build and wait for Google AI Studio to generate the agent.
Review the agent and test it with sample data. Does the agent meet your expectations?
In the Gemini conversation panel, paste the following CUJ prompt, and then click Send prompt to define the Critical User Journey:
In the Gemini conversation panel, review the generated agent specification to ensure it aligns with the CUJ.
In the Preview pane, test the agent with sample party details:
Verify that the agent generates a relevant shopping list that aligns with the CUJ.
Rename your application. Click the pencil icon beside the app name, change it to CymbalMart Shopping Agent, and click Save.
Click Check my progress to verify the objective.
In this task, you use Vibe Coding to enhance your Party Planner Shopping Agent with custom features and improved user experience.
Explore the generated code. Click on files like App.tsx in the Code tab to view the main application code and explore how UI elements are constructed.
Enhance the agent's features. In the Gemini conversation panel, paste the following command to add a chatbot to the agent UI:
Click Send prompt. Observe the changes in the application styling and layout.
Continue enhancing functionality. In the Gemini panel, type the following command:
Click Send prompt and observe the new features being added to the UI.
Test the new features in the Preview pane.
Test your Party Planner Shopping Agent across different scenarios and add final enhancements to ensure robust functionality.
In the Preview pane, test the agent with the following scenarios:
Scenario 1 - Children's Birthday Party:
Scenario 2 - Corporate Team Event:
Scenario 3 - Outdoor Wedding:
In the Gemini panel, provide feedback to refine the agent as needed.
Add a final enhancement. In the Gemini panel, paste the following prompt to add a voice control feature:
Click Send prompt, then allow microphone access in the pop-up window.
Verify your Party Planner Shopping Agent functions correctly with all enhancements.
Navigate to the home page by clicking Back to start, then click the Google AI Studio logo in the top-left corner.
In the left navigation menu, click Build.
Click Your apps > Created by you to view your Party Planner Shopping Agent with all enhancements.
You've successfully created and enhanced a Party Planner Shopping Agent from a Critical User Journey. You learned how to:
You're now equipped to build and iterate on your own AI agents in Google AI Studio!
...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.
Manual Last Updated April 1, 2026
Lab Last Tested April 1, 2026
Copyright 2026 Google LLC. All rights reserved. Google and the Google logo are trademarks of Google LLC. All other company and product names may be trademarks of the respective companies with which they are associated.
This content is not currently available
We will notify you via email when it becomes available
Great!
We will contact you via email if it becomes available
One lab at a time
Confirm to end all existing labs and start this one