Generate and Set a Google Maps API Key

The Buying Buddy Plugin uses Google Maps.
To use Google Maps, a Google Maps API Key is needed (a long unique number that will be used when the Buying Buddy widgets load on any page).
Without this Key, the Buying Buddy widgets will fail to work.

This Google API Key will come from your own Google account.
You must add your Google API Key to your Buying Buddy account for each authorized domain in your account.

Note: Credit Card is required with Google Maps

In order to use Google Maps:
- You MUST add your credit card and setup billing details with your Google account.
- You MUST activate your account so that you have a full, active account.
- However, for all active accounts, Google provides $200 of Free Use per month - which equates to 28,000 uses of the Map API, which means it's unlikely you will be charged unless you have very high traffic on your website.
- So, even if you have minimal use of Google Maps and no actual costs, Google's Terms still require that you have a valid credit card setup in a billing account with them.

This article will also show you how to set a quota so that you never exceed the free threshold.

- If charges ever are incurred, Google will notify you so you can be in complete control.
- The fees charged will be incremental over the first free $200. To put this in context, as of May 2020, Google's pricing is just $7 per month for an additional 1,000 Dynamic Map views.

1. Get Started with the Google Maps Platform

The very first thing to do is to log in to your Google account (e.g. GMAIL etc).

  • When first setting up your Google cloud account, we have found that this is often a lot easier if you use a personal Gmail/Google account, rather than a company GSuite account - especially when it comes to setting up the Billing account options.

Once you are logged in, go to the Google Maps Platform and click the Get Started button in the middle of the screen.
Be careful and don't rush through the following panels. Don't miss the vital steps in this process!

Google will ask you to choose a type of account and for most agents, we recommend that you select individual account for personal use.

2. Setup Billing

For a new account, you will be asked to enter some details for your account and then setup Billing.

Accept the offer of a 'Free Trial' and continue (you MUST upgrade to a full account later in this process).

Follow instructions to setup your account - you will see multiple panels and questions to work through e.g. What is your Use-case for Google platform (choose "other"), What type of business do you have etc.

At the end of this account setup process, you will be directed to the billing section and asked to add your credit card and billing details.

At the end of setting up Billing

When you have completed setting up billing, you will then be shown a panel with your API Key, that says something like: "Get Started with a Demo".

Ensure both options on this panel are selected:
- Enable All Google Maps APIs
- Create budget alerts
Click BUILD A DEMO to proceed to the next panel

3. Protect Your API Key

The next panel says 'Protect Your API Key'.

First, select 'HTTP referrers (websites)'.

Then , type in your website as indicated.
It is VERY important to type this exactly as described here.
So, take care and be accurate when typing.
This method will enable the maps key on subdomains and any pages - so do not be tempted to add something different!

For example, if your website domain is
.. then you would enter:
i.e. do not enter 'http', or 'www' etc. - JUST the domain name prefaced with the characters ASTERISK DOT, and followed by characters FORWARD-SLASH ASTERISK.

Then, save by selecting RESTRICT KEY.

Do not rush the next few panels. Go slow and make sure you click the right options!

At this stage you will have completed the initial setup.

4. Authorize Your Full Site to Use this Key

On the left side menu, you should be seeing the "Google Maps Platform" menu.
(If not then click the white menu icon - and scroll all the way down the menu (long way down) and select "Google Maps Platform").
Click Credentials (click this link).

In the API Keys list in the main panel, click the "Maps API Key" link shown to go to 'Key Restrictions'.

Next, on the 'Restrict and Rename Key' page, look for 'Website Restrictions'.
You will see your website shown as it was entered earlier.

Under this click ADD AN ITEM to add your website address a second time as described below:

This second entry is different and is required.
So, take care and be accurate when typing.

As per the previous example, if your website domain is,
.. then type in your website address in the following format, which is different from the first time:*
i.e. - this time JUST the domain name (no preface), followed by the characters FORWARD-SLASH ASTERISK.
(do not enter 'http://', or 'www' etc. )
Remember - this method will enable the maps key on subdomains and any pages - so do not be tempted to add something different!

Click DONE.

At this stage you should now see two versions of your website specified, similar to this:

At this time, you may also add additional websites that will also be able to use your Key.
For example, if you have a Squarespace site with a temporary path - or you are developing on a sandbox domain, then just add the two versions of each.

Do not be tempted to change or modify any other settings or restrictions on this page!

Finally, at the bottom of this page select SAVE.

5. Set Quotas (to avoid fees)

  1. On the left menu you now need to select Quotas (click this link)
  2. At the top of the main panel on the right, select "Maps JavaScript API"
  3. Now you will see a heading of "Map Loads"
    Click the small "down arrow" on the right to show the full panel

Look down the "Map Loads" panel to the bottom where you will see a small table which lists the quotas.

Click the pencil icon for "Map Loads per day" to see the "Edit Quota" panel on the right.

  1. Uncheck the "Unlimited" option
  2. Type 1000 as the new Quota
  3. Check the 'Confirmation' option and SAVE

REPEAT this process to change the "Map Loads Per Minute" quota

Now you have completed setting Quotas!

6. Turn On Automatic Billing

If you already have a full account then you are fully setup! Go to the next step to add to your Buying Buddy account.

The last step in the Google API system is to ensure that you have Activated (upgraded) your account. if you do not do this then your account will stop working in 30 days and you'll need to come back to the Google API system and Activate at that time.

Remember, Google provides $200 of Free Use per month - which equates to 28,000 uses of the Map API, which means it's unlikely you will be charged unless you have very high traffic on your website.

You should see the option to ACTIVATE your account at the very top of the screen. Just click this button to ACTIVATE.
You can then go to Step-7.

If you do not see this option, then click the white 3-bar navigation icon to see the full menu on the left, and then click on "Billing".
If you still have a Free Trial - then on this Overview panel there will be a message on the right that says something like "You are on a Free Trial".
Next to this there will be an option to "Upgrade to a full account".
Click the link/button to Upgrade/Activate a full account.
You will then redirected and shown a panel to 'Activate your full account'.

Your account is now a fully active account.

7. Add to your Buying Buddy Account.

Go to your Google Map Platform Credentials page and then select Credentials from the menu
Your API Key is shown in the API Keys table and you can use the icon on the right to copy your API Key.

Is this for a new Buying Buddy account?
Please paste your API key into an email and send to
We will then add this to your account and send you your Buying Buddy account credentials.

Is this for an existing Buying Buddy account?
See these instructions.

Updated on June 21, 2022

Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support