Skip to main content
Note: Google Places integration is available on the Builder plan and above. If you’re on the Free plan, you need to upgrade your app to use backend functions and payment features.

Part 1: The Google side

If you already have a Google Places API key, feel free to skip ahead to Part 2: The Base44 side.
1

Create (or choose) a project in Google Cloud

Google Cloud console with a Create or select a project button and recommended product cards

Creating a project in the Google Cloud console

  • Head to the Google Cloud Console and either pick an existing project or create a new one.
2

Enable the places API (New)

Google Cloud console with the APIs and Services menu open on Library and Credentials

Finding the API library in Google Cloud

  • In the left sidebar, click APIs and Services → Library.
  • Use the search bar to find Places API (New) and open it.
  • Click Enable to activate it for your project.
3

Generate your API Key

  • From the API’s credentials page, click Create Key and copy it.
  • Save the key somewhere secure. You’ll need to paste it into Base44.
If you see an error like REQUEST_DENIED later on, it usually means billing isn’t enabled or your API key restrictions are too tight. Turning on billing and loosening restrictions during testing often fixes this. If you plan to display a map in the browser, you should also enable the Maps JavaScript API and use a browser key restricted to your site.

Part 2: The Base44 side

Once you have your Google Places API key, you can connect it to Base44 in 2 different ways:

Option A: Ready-made integration (preferred)

  • Choose this path if you are starting a new app from scratch.

Option B: Instant integration

  • Choose this path if you are already in the midst of building and would like to integrate Google Places into an existing app.

Option A: Ready-made integration (create a new app)

1

Choose the integration

  • In Base44 click on Integrations
Base44 home prompt page with Integrations outlined in the top navigation

Opening the integrations catalog

  • Find Google Places
  • Select Use this Integration
2

Provide your API key

Google Places integration setup with a field to enter the API key

Entering your Google Places API key

  • When prompted, paste your Places API key into the field labeled GOOGLE_PLACES_API_KEY.
3

Build your app

  • In the AI chat, describe your app’s purpose.
  • For example:
    Create an app to plan my next trip. I will tell you the city, you will suggest five places, and you will show them on a Google Places map.
  • Base44’s AI builds the basic structure for you.
4

Test with a sample trip

  • Enter a city, search for up to 5 places, and save the trip.
  • Check that a map appears with markers for all selected places and that it automatically zooms to fit them.

Option B: Instant integration (connecting to an existing app)

Use this approach when your app is partially built and you want to integrate Places without starting over.
1

Access your existing app

  • Here’s the prompt that we typed out in the AI chat to build our sample app:
    “Create an app to plan my next trip. I will tell you the city and you will choose five places for me to visit.”
2

Connect your app to Google Places using the AI chat

AI chat offering to add an API key beside a trip planner app

The AI chat offering to add your API key

  • Ask the chat to connect your app to Google Places. You can edit this sample prompt: Connect this app to Google Places using the Places API (New). Ask me for GOOGLE_PLACES_API_KEY and save it as a Secret. Create backend functions to: - search by text and return id, displayName, formattedAddress, location, types - get details by place_id with the same fields All calls must run from the backend only.
3

When prompted by the AI chat, paste your API key

Dialog with a field to enter an API key and a save button

Saving the API key as a secret

  • When prompted by the AI Chat, click on Update GOOGLE_PLACES_API_KEY
  • Then paste your API key into the pop up window
4

Build the interface

  • Add the Trip Planner UI and map.
  • You can use a prompt similar to this one to build your interface: Add a Trip Planner page with: - a City field - 5 auto-suggest place inputs powered by the backend When a place is selected, save place_id, name, formatted_address, latitude, longitude, types. Add a Google Map that places a marker for each saved place and automatically fits bounds to show them all. Include a Reset button.
5

Test your app

  • Enter a city and let the app suggest 5 places, then save.
  • Verify that markers appear and the map fits all points.
  • Refresh the app to confirm the saved places render correctly.

Troubleshooting

  • 403 or REQUEST_DENIED errors: Usually the Places API isn’t enabled, the API key is wrong, or key restrictions are too strict. Double‑check that Places API (New) is enabled, your billing account is set up, and relax restrictions during testing.
  • Empty suggestions: Try a different city or search term. Make sure the search is happening on the backend, not in the browser.
  • Map doesn’t fit all points: Ensure your app calls fitBounds after all markers have been added to the map.
  • Wrong fields saved: Save exactly the fields listed above (place_id, name, formatted_address, latitude, longitude, types) so the map and filters work reliably.

Common use cases

Here are some ideas for how you can leverage the Google Places API inside Base44 apps, based on examples from Google’s own documentation and other Places API providers:
  • Trip planners: Suggest restaurants, attractions, or hotels when someone picks a city.
  • Local business finders: Let people search for nearby cafés, shops, or services.
  • Route helpers: Show gas stations, rest stops, or food spots along a journey.
  • Real estate tools: Highlight schools, parks, or shops near a property.
  • Emergency services locators: Quickly find hospitals, police stations, or pharmacies.
  • City guides: Build apps with curated landmarks, events, or lifestyle spots.
These examples illustrate just a few of the many ways you can use the Places API to add location‑aware features, search tools and personalized recommendations to your Base44 apps.