Instant prices need Google Maps. The plugin uses your own Google Cloud keys, so you control usage and cost and nobody marks it up. You need two keys:
| Key | Used for | APIs to enable | Restrict it to |
|---|---|---|---|
| Browser key | Address suggestions, the zone map, the car on the live tracking map | Maps JavaScript API, Places API (New) | Your website (HTTP referrers) |
| Server key | Distances and prices, zones, the service-area check | Routes API, Geocoding API | Your server's IP address |
Without a server key the form still works, but every trip becomes a quote request.
1. Create a project and billing account
- Go to console.cloud.google.com and sign in with your business Google account.
- Create a project, for example *Big Black Limo booking*.
- Open Billing and link a billing account. Google requires one even though its monthly free usage covers most small and mid-sized operators.
2. Enable the four APIs
In APIs and Services → Library, search for and enable each of these: Maps JavaScript API, Places API (New), Routes API and Geocoding API.
3. Create the browser key
- APIs and Services → Credentials → Create credentials → API key.
- Rename it *Browser key*. Under Application restrictions choose Websites and add your domain twice:
yourdomain.com/*and*.yourdomain.com/*. - Under API restrictions choose Maps JavaScript API and Places API (New). Save.
- Paste it in Chauffeur Plugin → Settings → Integrations → Google Maps browser key.
4. Create the server key
- Create a second API key and rename it *Server key*.
- Under Application restrictions choose IP addresses and add your server's IP. Your host shows it in its control panel; on shared hosting ask support for the outgoing IP.
- Under API restrictions choose Routes API and Geocoding API. Save.
- Paste it in Settings → Integrations → Google Maps server key. It is stored encrypted.
5. Check it works
Open your booking page in a private window, type an address and get a price. Then open Settings → Booking rules → Check your service area: it confirms Google found your base address.
Frequently asked questions
How much does Google Maps cost for a booking form?
Google gives a monthly free allowance for each API, which covers the address searches and route calculations of most small and mid-sized operators. Larger fleets pay Google directly per request. Set a budget alert in Google Cloud to stay in control.
Why two keys instead of one?
The browser key is visible in your page's code, so it is locked to your domain. The server key calculates prices and stays on your server, locked to its IP address. Splitting them means a copied browser key cannot be used to run up route calculations.
Address suggestions work but there are no prices. Why?
The browser key is fine but the server key is missing, restricted to the wrong IP, or the Routes API is not enabled on it. Without a working server key, trips become quote requests.
Do popular locations need a Google key?
No. Popular locations appear in the address fields even without a browser key. Prices still need the server key.