Skip to content
Product Development

How to Display Real Google Ratings & Reviews in Your Bubble.io App

Devcipator Team6 min read
How to Display Real Google Ratings & Reviews in Your Bubble.io App

There are two ways to add ratings and reviews to a Bubble.io marketplace or directory. You can pull a business's existing Google rating and review count with the Google Places API and Bubble's API Connector, which this tutorial covers step by step. Or you can collect your own user reviews and store them in your Bubble database, which we outline further down.

Your Bubble.io app can find a business. But can it show the real Google rating and review count?

Imagine building a Bubble.io app where users can search for businesses, view their locations, and access important business information. But there's one thing missing:

⭐ Google Rating

💬 Total Google Reviews

This is where the Google Places API comes in.

In this tutorial, you'll learn how to connect the Google Places API to Bubble.io and display real Google business ratings and review counts directly inside your Bubble application.

🚀 THE JOURNEY

Step 1: Create a Google Cloud Project

We start by creating a Google Cloud project and setting up the environment required to work with Google Places data.

Step 2: Enable the Google Places API

Next, we enable the Google Places API so Bubble.io can request business information from Google.

Step 3: Generate an API Key

We create a Google API key and configure it properly so our Bubble application can securely access the required data.

Step 4: Connect Google Places API to Bubble.io

Using the Bubble.io API Connector, we connect our application to the Google Places API and prepare the API calls.

Step 5: Find the Business Place ID

When a user searches for a business, we use the business information to retrieve its unique Google Place ID.

Step 6: Retrieve Google Ratings and Reviews

Using the Place ID, our Bubble app can retrieve important business data, including:

⭐ Google Rating

💬 Total Review Count

Step 7: Display the Data in Bubble.io

Finally, we bring the Google Places data into our Bubble application and display the rating and review count dynamically.

And that's it. Your Bubble.io app can now search for businesses and display real Google ratings and review counts.

🛠️ TOOLS USED

- Bubble.io

- Bubble API Connector

- Google Cloud Console

- Google Places API

🎯 WHAT YOU CAN BUILD

This integration can be useful for:

- Business directories

- Local business search apps

- Marketplaces

- Review platforms

- Location-based applications

- Business discovery platforms

The process is simple:

Search → Find Place ID → Fetch Google Data → Display in Bubble.io

If you're a Bubble.io developer working with APIs, adding Google Places data can make your application much more useful and engaging.

Adding Your Own User Reviews and Ratings in a Bubble Marketplace

Google data works well for listings that are real businesses on Google Maps. In a marketplace, though, you usually also want reviews written by your own users about sellers, providers, or listings. That is built inside Bubble rather than through an API, and the usual approach looks like this:

  1. Create a Review data type with fields such as the rating (a number), the review text, the user who wrote it, and the listing or seller it is about.

  2. Add a review form with a rating input and a text box, and a workflow that creates a new Review when the user submits it.

  3. Decide who can review, for example only users who have completed a booking or order, and check that condition in the workflow.

  4. Show the average rating and review count on each listing by searching for its Reviews and displaying the count and the average of their ratings.

  5. Set privacy rules so users can read reviews but only edit or delete their own.

Many marketplaces combine both: their own user reviews for transactions on the platform, and Google ratings for businesses that already have a public reputation.

If you're building a marketplace or directory and want help with the data structure, workflows, or API integrations, see our Bubble.io development services. For another API Connector walkthrough, read our tutorial on building AI image generation in Bubble.io with the OpenAI API, and when your app is ready to launch, here's how to connect a custom domain to Bubble.io.

Frequently Asked Questions

How do I add user reviews and ratings in a Bubble marketplace?

Create a Review data type linked to the user and the listing, add a form and workflow that saves a new review, and display each listing's review count and average rating. If your listings are real businesses, you can also show their Google rating and review count using the Google Places API, as shown in this tutorial.

Can Bubble.io show Google ratings and reviews?

Yes. By connecting the Google Places API through Bubble's API Connector, your app can look up a business's Place ID and then display its Google rating and total review count.

What do I need to connect the Google Places API to Bubble?

A Google Cloud project with the Places API enabled, an API key, and the Bubble API Connector. The steps above walk through each one.

Should a marketplace use Google reviews or its own reviews?

It depends on what users are rating. Google reviews reflect a business's public reputation, while your own reviews reflect transactions that happen on your platform. Many marketplaces use both.