1. Home
  2. Installation
  3. Google Maps
  4. How To Add Your Google Map API Key to Buying Buddy

How To Add Your Google Map API Key to Buying Buddy

To add to Buying Buddy, you will first get a copy of the key, then follow the instructions for your type of website that are shown below.

Do you need to get a Google Map Key?
If you are starting out, review this article first How To Get a Google Maps API Key.

NOTE: If you have multiple domains (including a staging domain), then in your Google API Account, each domains must be added to the authorized referrers list. See instructions.

Get a Copy of Your API Key

  1. Go to your Google Map Platform Credentials page and then select Credentials from the menu.
  2. Your API Key is shown in the API Keys table and you can use the icon on the right to copy your API Key.
  3. Once you have copied the key, see the instructions below for your type of website.

Once added, you should now be able to use Google Maps on your website.
**Sometimes Google Maps API can take 5-20 minutes to be recognized and authorized by Google**

If you are having problems getting Maps to display then see Troubleshooting Google Maps.

Instructions For WordPress

If you are using the WordPress plugin, you should add the Google Map API Key to Plugin Installation and Settings in your Buying Buddy dashboard.

Although this will update your plugin in a few hours, we recommend adding your Map Key to the WordPress Plugin settings tab so that the map displays correctly straight away.

If your WordPress site or another plugin already loads Google maps with an API key then you will need to take action to avoid the Google Maps API JavaScript library loading twice as this will cause errors.

For example, the DIVI Theme will also load Google Maps API. In the specific case of DIVI, the prescribed solution is to actually to allow Buying Buddy plugin to load the Google Maps API and stop DIVI from loading it a second time. See our support article to read how to remove the conflict with DIVI.)

Add Google Map API Key To Your Buying Buddy Dashboard

  1. Log in to your Buying Buddy account and go to Plugin Installation and Settings for your domain:
    Menu Widgets > Plugin Installation and Settings
  2. Go to the tab "Google Map Key".
  3. Paste in the API key for that domain in the "Google Map Key" section.
  4. Click SAVE to save this key for this website / domain.

Add Google Map API Key To the Buying Buddy Plugin

  1. Login to your WordPress Admin Dashboard
  2. Go to Plugins and click "Settings" for the Buying Buddy plugin
  3. Go to the Plugin Dashboard and then the Settings tab.
  4. Add the Google Maps API Key to the Buying Buddy Plugin Options.

Instructions For Wix

You must add your Google Map API key to your Wix website dashboard.

  1. Go to your Wix account and view the Wix Dashboard for this site.
  2. Expand the menu item for Apps and click "Buying Buddy IDX CRM".
  3. On the Buying Buddy Wix Dashboard, scroll down to the Google Map Key section and add your API Key.
  4. Your API key will then be shown here too.

Instructions For All Other Websites

These instructions apply if you have a website created with any other system such as Squarespace, Weebly, Duda, Webflow, Webstarts, general HTML etc.

  1. Log in to your Buying Buddy account and go to Plugin Installation and Settings for your domain:
    Menu Widgets > Plugin Installation and Settings
  2. Go to the tab "Google Map Key".
  3. For each of your websites, paste in the API key for that domain in the "Google Map Key" section.
  4. Click SAVE to save this key for this website / domain.

Instructions If Using The PHP Class

If you are using the PHP Class it is always advisable to also add the API Key to the Buying Buddy plugin in your website too.

These instructions for the PHP class only apply if you are using the Buying Buddy PHP Class for your Buying Buddy plugin (e.g. for PHP frameworks and CMS such as Bootstrap, Joomla etc).

  1. Once you have added the API Key to your Buying Buddy Account, add the Google Map API Key to the "googleapis.com" script which is part of the PHP API Buying Buddy JavaScript in the <head> of your site.
Updated on February 9, 2025
Was this article helpful?

Related Articles

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