Google API keys are unique codes that users can use to connect their websites to Google Services such as Google Maps and Google Reviews.
With the Max Addons Reviews element, you can easily display Google business reviews on your WordPress website without writing any code. Put your Places API key into the element, and you're ready to go!
In this doc, we'll guide you on how you can get your Google API to Display Google Reviews using Max Addons for Bricks Builder.
Get Your Google Places API Key#
In order to display your Google business reviews, first, you will require to generate the Google Places API key.
Step 1: To do that, go to the Google Developer Console and click CREATE PROJECT to add a new project. You can also select an existing project from the Select the Project dropdown.
Step 2: Once you create a new project, click ENABLE APIs AND SERVICES.
Step 3: You will be taken to the Google API library. In the search bar, search for Places API, select it and click ENABLE.
Step 4: After enabling the API, open the hamburger menu and click APIs & Services >> Credentials.
Step 5: On the next page click on the + CREATE CREDENTIALS button and select the API Key option.
Step 6: The newly created API key will appear in a pop-up box. You will need to copy your key and open your WordPress website.
Add Google API key to WordPress Site#
You have successfully created the Google API key. Now you need to add this key to your WordPress in order to fetch Google services to your site.
Go to Admin Dashboard > Bricks > Max Addons > Integration and paste your API key in the Google Places API key field.
Don’t forget to click on the Save Changes button.
That’s it! This is how you can generate and add the Google Places API key to display your business reviews in WordPress.