Our mapping features require a Google Maps API Key to function properly. This guide will walk you through setting up your key and adding it to your Buying Buddy account, ensuring all map features display correctly on your website.
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.
Why You Need a Google Maps API Key
The Buying Buddy Plugin uses Google Maps to display properties on maps and provide location-based features. Without this key, map components in your widgets won't work properly.
If you have a trial or staging site you should still go ahead and get a key.
When you change your domain name, just update the settings on your Google Map Key!
1. Get Started
- Make sure you're logged into a Google account (Gmail or any Google account)
- Go to the Google Maps Platform: https://mapsplatform.google.com/
- Click the Get Started button in the top-right corner
- Accept Google's terms and conditions
- Click the blue Finish Account Setup button
2. Create Payments Profile
Google requires billing information, but with proper settings, you can avoid charges:
- Click Create new payments profile
- Choose Individual account for simpler setup
- Add a payment method (credit card required by Google)
- Click Start free
- If you see a welcome survey, click Skip for Now
- Your API Key will appear on screen (we'll use this later)
- Keep Enable all Google Maps APIs checked
- Click the button to continue to Google Maps Platform
- When asked to protect your key, click Maybe later
3. Rename Your Project
Creating a memorable project name will help you manage your key in the future:
- In the search bar at the top, type "manage resources"
- Click the Manage Resources option in the results
- Find "My First Project" in the Resources table (use this one because your billing details are already connected to it)
- Click the 3 dots (⋮) menu on the right and select Settings
- Enter a name you'll remember (like your website name)
e.g "charliesmithrealty IDX website" - Click Save
4. Upgrade to a Full Account
This important step prevents your maps from stopping after 30 days:
- In the search bar at the top, type "billing accounts"
- Click Billing Accounts in the search results
- On the Billing Overview page, find the Free Trial Credit panel
- Click the blue Activate button and confirm
- This upgrade ensures continuous operation but still keeps you in Google's free tier
5. Protect Your API Key
Setting proper restrictions helps secure your key:
- Return to Google Maps Platform by searching for "maps" in the top search bar, and selecting Google Maps Platform
- Verify your new project name appears at the top
- In the left menu, click Keys and Credentials
- Find your API key in the table and click its name.
You don't need to change this name, and remember that this API Key name is different from the Project Name you just created - Under Application Restrictions, select Websites.
- You will now see Website Restrictions. You need to add two formatted website addresses for each domain you have authorized in Buying Buddy.
- Open your Buying Buddy dashboard in a new tab
- Go to Widgets > Installation and Setup > Google Map Key tab
- You'll see two correctly formatted website addresses
- Copy each address using the blue Copy button
- Return to Google Maps Platform
- Click the blue + ADD under Website restrictions
- Paste the value and click Done
- Repeat for the second address (it will be similar but starts with "*.")
- If you have sandbox domains, repeat this process for all domains.
You should now have two entries for each site, like this: - Next, under API Restrictions, select Don't restrict key
- Click Save
6. Set Quotas
Setting quotas helps you stay within Google's free usage limits:
- In the left menu, click Quotas
- At the top of the page, select Maps JavaScript API
- Scroll to the Quotas table
- Check the boxes for these three items:
- 3-d Map Loads Per Day
- Map Loads Per Day
- Map Loads Per Minute
- Click Edit at the top of the table
- Uncheck the Unlimited boxes
- Set all three quotas to 1000
- Submit your request and confirm the quota reduction
7. Add API Key to Buying Buddy
The final step is adding your key to your Buying Buddy account:
- Go back to Keys and Credentials
- Find your API key in the table
- Click Show Key and copy it
- In your Buying Buddy account, go to Installation and Setup > Google Map Key tab
- Paste your key in the Map API Key field
- Add your Google account email for future reference
- If you have a Wix website: Go to your Wix Editor and then add the key to your Wix Buying Buddy dashboard.
- If you use WordPress: Open the Plugin settings in your WordPress website admin and add the key to the plugin settings.
NOTE: If your WordPress theme is already loading Google Maps then you should still add the Map API Key to the Required Settings in the Buying Buddy WordPress plugin. However, on the Settings panel, scroll down to see the "Optional Settings" and set "Buying Buddy Loads Google Maps Library?" to be "NO". See WordPress compatibility notes. - For other websites: For all other websites that use the JavaScript plugin, you must now update the plugin on your website with the new plugin script from the "Add Plugin" tab that now includes your API Key.
Important Notes
- Google provides $200 of free credit monthly (approximately 28,000 map loads)
- With the quotas we've set, you'll stay within the free usage limits
- Setting these quotas protects you from unexpected charges
- If you have a trial or staging site, you can add those domains to your key
- If you change domains later, just update your settings in Google Maps Platform
Need help? Submit a support ticket and we'll be happy to assist you.
Useful direct links for Google Maps Platform
- Direct Link to the Google Maps Platform:
https://console.cloud.google.com/google/maps-apis/home - Link to set budgets - https://console.cloud.google.com/billing/budgets
(only important if you have very high use and need to manage costs)