IntegrationsUpdated 2026-08-25
Set up a Google API key
What this article helps you do
Add and test your Google Maps API key in Mapstore. This key gives Mapstore access to Google Places and Google Geocoding.
Before you start
- You have a Google Cloud project.
- Billing is enabled for the project. Billing is necessary for Google Maps APIs.
- You can enable APIs in the Google Cloud Console.
Video walkthrough
Use this short video to see the API configuration procedure:
Step-by-step instructions
1. Create or use an API key
- In Google Cloud Console, open your project.
- Go to APIs & Services -> Credentials.
- Create an API key (or use an existing one).
- In API restrictions, permit access only to Places API (New) and Geocoding API.
Mapstore sends these requests from its server. Do not use a Websites or HTTP referrer application restriction. That restriction applies to API calls from a shopper browser. An IP restriction operates only for IP addresses on its allowlist. Before you add an IP restriction, contact Mapstore support.
2. Enable the required APIs
- Go to APIs & Services -> Library.
- Enable these APIs:
- Places API (New) - for ratings, review counts, and business hours
- Geocoding API - for address lookup and bulk geocoding
Make sure you enable Places API (New), not the legacy “Places API”.
3. Add the key to Mapstore
- In Mapstore, go to Settings.
- Find Google Maps integration.
- Paste your API key.
- Click Test API key.
4. Interpret the test result
The test checks the two APIs:
- Both pass - The two APIs passed the test. Ratings, hours, and geocoding operate.
- Partial pass - One API failed. The result identifies the API that failed.
- Both fail - The key can be incorrect or restricted. One or two APIs can be disabled.
5. Fix a failed test
If the test fails, check these items before creating a new key:
- Make sure that the key and the two required APIs use the same Google Cloud project.
- Make sure that billing is enabled for your project.
- Check API restrictions. If the key has API restrictions, permit access to the two required APIs.
- Remove website and HTTP referrer restrictions.
- If the key uses an IP restriction, include the Mapstore server IP in the restriction.
- Copy the full key again with no other spaces.
- If a timeout occurs, do the test one more time.
- If a second timeout occurs, check the network and firewall rules.
How to verify it worked
- Click Test API key.
- Make sure that you see a green success message.
- Import a store that has a correct address but no coordinates.
- Make sure that Mapstore adds coordinates to the store.
- Sync a store that has a Google Place ID.
- Make sure that the rating, review count, and hours load.
Troubleshooting
| Issue | Fix |
|---|---|
| “Places API (New) is not enabled for this key” | Enable Places API (New) in Google Cloud Console. |
| “Geocoding API is not enabled for this key” | Enable Geocoding API in Google Cloud Console. |
| “This API key is not authorized” or “REQUEST_DENIED” | Check key restrictions and make sure that the two required APIs are permitted. |
| Places works but Geocoding fails, or the reverse | Enable the failing API and check API restrictions. |
| “Quota exceeded” or “OVER_QUERY_LIMIT” | The Google quota is exhausted. Check quotas in Cloud Console or wait and try again. |
| “Invalid API key” | Copy the full key. Make sure that the key belongs to the project with the APIs. |
| Test times out | Verify network access and firewall rules for your environment. |