Zapiet Eats uses a Google Maps API key for maps, address autocomplete, and driving-distance delivery checks. Some accounts can go live without their own key. Others see a prompt in Widget settings before they can go live.
Create the keys in Google Cloud. Enable the Maps APIs in Google Cloud, then paste and validate the keys in Zapiet Eats.
Before you begin
You need a Google Cloud account with billing enabled.
Staff need permission for Settings.
When Zapiet Eats asks for a key
You may see a prompt in these places:
Settings > Widget settings, in the Google Maps API key row. Click Manage.
Settings > Subscription, if the account requires a key before going live. Click Add API key in Widget settings.
The Google Maps API key window explains what the key is used for: maps, address autocomplete, and distance calculations.
Create the key in Google Cloud
Open the Google Cloud console and create or select a project.
Enable billing for that project.
Enable the Maps APIs shown in the Zapiet Eats Google Maps API key window. The app checks Places, Distance Matrix, Directions, and Geocoding for server use, and Places and Maps JavaScript API for storefront use.
Create two API keys: one for Zapiet Eats server checks, and one for the storefront.
Restrict the server key to Places, Distance Matrix, Directions, and Geocoding. Do not add an HTTP-referrer restriction to this key.
Restrict the storefront key to Places and Maps JavaScript API, plus an HTTP-referrer restriction for your storefront domain.
Copy both keys.
Create and restrict both keys before you validate them in Zapiet Eats. Follow Google’s API key security guidance when setting API and application restrictions. If you save only the server key, the storefront can use that same key until you add a storefront key.
Add the key in Zapiet Eats
In Zapiet Eats, go to Settings > Widget settings.
In the Google Maps API key row, click Manage.
Paste the server key into API key.
Select Use a separate key for the storefront (recommended) and paste the storefront key.
Click Validate for each key.
Fix any API the window marks as missing. Enable those APIs in Google Cloud, then click Validate again.
Click Save.
Click Save on Widget settings if the page still has unsaved changes.
If validation fails
Confirm you pasted the full key.
Enable every Maps API listed in the window, not only one of them.
Enable billing on the Google Cloud project.
If the storefront key uses HTTP referrer restrictions, include the storefront domain Zapiet Eats shows. Do not put an HTTP-referrer restriction on the server key.
