A restaurant finder has one satisfying test. Ask for a dish in a particular neighborhood, pick a restaurant, and click through to that exact place on Google Maps. If the link opens a generic map, the app still needs work. This guide takes you all the way through that click.

You’ll need a computer, a browser, and a Google account with access to AI Studio. In Build mode, Gemini creates the app from your description. Inside the finished app, Gemini uses Google Maps data to find places. The first two screens below come from Google’s setup codelab. The rest follow one Google for Developers demonstration in which Ammaar Reshi builds Cuisine Compass and searches for Pakistani food in New York. You can follow the same steps with a Phuket search in your own app.

1. Open the app builder

Open Google AI Studio’s app builder. If you land on the welcome screen, choose Get started and sign in with your Google account. If you already see a box asking what you’d like to build, go straight to step 2.

On the welcome page, Google marks the Get started button.
On the welcome page, Google marks the Get started button. Google setup guide

If you land in Playground, look under Build in the left sidebar and choose New app. The setup screen also has a Start building button. Either route should bring you to the box where you describe an app.

The Start building button opens the builder. New app is also visible in the sidebar.
The Start building button opens the builder. New app is also visible in the sidebar. Google setup guide

2. Select Maps and describe the app

Look below the idea box for Use Google Maps data and click it once. In the recording, the selected capability also appears inside the prompt box. This tells Gemini to use Maps place data for restaurant suggestions. If your layout arranges the tools differently, name Google Maps grounding in the build request itself, as in the example below.

The presenter points to the Use Google Maps data card.
The presenter points to the Use Google Maps data card. Watch at 0:55

Paste the whole request into the app description box, then click Build on its right edge. This request creates the search tool. You’ll enter the food you want after the tool opens.

Build a restaurant finder using Gemini with Google Maps grounding. Let me enter a cuisine and a neighborhood or city. If the area is blank, offer to use my location. Show each restaurant’s name, area, and a View on Map button that opens its Google Maps place listing. Label the search button Find Restaurants. If there are no grounded matches, show a no-results message.
Maps is selected, the idea is in the prompt box, and Build is at the right.
Maps is selected, the idea is in the prompt box, and Build is at the right. Watch at 1:07

3. Find the app in Preview

The workspace opens with a conversation on the left and the app on the right. Wait for the loading indicator to give way to a page. If you see source code, select Preview above the right pane. Look for a cuisine field and a search button. Your generated app may use a different name or layout.

The request is on the left while the right-hand Preview loads.
The request is on the left while the right-hand Preview loads. Watch at 1:09

The recorded app asks for Geographic location when it opens. Choose Allow if you want results near your device. To try Phuket from somewhere else, use the area field from our prompt and enter “Phuket Town, Thailand.” If the field is missing, type “Add a neighborhood or city field. When a place is entered, use it instead of the device location” in the builder chat on the left. Return to Preview after the edit.

The geographic location dialog appears over the generated app.
The geographic location dialog appears over the generated app. Watch at 1:33

4. Run a search inside the app

Click inside the app on the right. In the demo, the presenter enters Pakistani food and clicks Find Restaurants. For a Phuket test, enter “Hokkien noodles” as the food and “Phuket Town, Thailand” as the area, then click Find Restaurants. If your version has one search field, put the cuisine and the neighborhood together.

Pakistani food is in the app’s own search box next to Find Restaurants.
Pakistani food is in the app’s own search box next to Find Restaurants. Watch at 1:41

Look for named places and a map link for each one. In the recorded New York search, the first card is Kolachi. Your result names will depend on the area you enter and the Maps data available when you run it.

Cuisine Compass shows restaurant cards with a View on Map button for each place.
Cuisine Compass shows restaurant cards with a View on Map button for each place. Watch at 1:52

5. Open a place in Maps and test a second search

Pick a result, note its name, and click View on Map. Check the name in the Maps place panel, then the address or pin. The name should match the card and the location should be in the area you requested. In the recording, the Kolachi card opens the Kolachi listing in New York. That is the final screen to compare with yours.

The opened Maps listing shows Kolachi, its map pin, and its New York address.
The opened Maps listing shows Kolachi, its map pin, and its New York address. Watch at 2:04

Go back to your app, keep the same neighborhood, and change the food to “Indian food.” Open a result from the second search too. If every card takes you to the Maps homepage or the wrong business, paste this follow-up into the builder chat on the left.

For each restaurant, make View on Map use that place’s own link from the Google Maps grounding result. Hide the button where a place link is missing. Keep the existing search fields and restaurant cards.

Return to Preview and repeat both searches. If you get no places, try the city name instead of the neighborhood. If the app reports a model, quota, or billing error, check the project’s access against Google’s Gemini API billing guide. You can complete this exercise in Preview. Publishing an app for other users is a separate step.

See the original Google for Developers demonstration, Google’s Build mode guide, and its explanation of Google Maps grounding. The two setup screens are from Google Codelabs. Some frames are cropped to make the relevant control easier to see.

Explore Phuket AI Pro’s hands-on AI courses