Getting your Google Maps API Key
To enable Google Maps functionality on your website, we need you to create a Google Cloud account, add a billing method, and provide us with access to the project. Unfortunately, Google hasn’t made things as easy as it should be. The Google Could dashboard can be a bit overwhelming, especially to non-developers. Shoot for that matter, I still get lost from time to time when setting up APIs within Google. Anyway, I had to get these instructions for a new client and decided that I would go ahead and add this to my website for future reference or something a page to send to a client the next time I get a request to add a map to a website.
Step 1: Sign In to Google Cloud
- Visit: https://console.cloud.google.com/
- Sign in with the Google account that your organization wants to use for ownership of this service. Important:
- Use a company-owned Google account whenever possible.
- Avoid using a personal Gmail account if multiple people may need access in the future.
- For most small businesses, a personal gmail account is fine.
Step 2: Create a New Project
- At the top of the page, click the project dropdown.
- Click New Project.
- Enter a project name such as:
Company Website Maps - Click Create.
- Wait for the project to finish creating.
Step 3: Enable Billing
Google requires a valid credit card on file for Maps services, even if your usage remains within Google’s free monthly credit allowance. Historically, Google gave everyone a $200 monthly Maps credit. Since March 2025, they replaced that with free usage quotas per API instead of a pooled $200 credit.
For a typical business website that simply displays a map showing a location, the important thing to know is:
- You still need a credit card on file.
- Most small business websites never incur charges.
- The Maps JavaScript API currently includes approximately 10,000 free map loads per month under the Essentials tier before billing begins.
To put that in perspective:
| Monthly Visitors | Map Loads | Cost |
|---|---|---|
| 1,000 visitors | ~1,000 loads | $0 |
| 5,000 visitors | ~5,000 loads | $0 |
| 10,000 visitors | ~10,000 loads | Usually $0 |
| 50,000 visitors | ~50,000 loads | May incur charges |
Billing – continued…
- In the left menu, click: Billing
- Follow the prompts to:
- Create a billing account (if one does not already exist)
- Add a credit card
- Associate the billing account with the new project
Note: it is my recommendation that once you have the account setup and billing enabled, that you grant your developer access to the account as “Editor” or Project Owner (if you know and fully trust your developer. Project Owner does give them access to make purchases or change billing…). However, if you are not working with a developer or just want to own the entire process, continue on.
Step 4: Enable Required APIs
- In the left menu, go to: APIs & Services → Library
- Search for and enable:
- Maps JavaScript API
- If your website includes location search, directions, or address lookups, also enable:
- Places API
- Geocoding API
If you are unsure which APIs are needed, enable all three above.
Step 5: Create an API Key
This is where things start getting a bit more confusing and it takes a bit of searching to find things.
- Go to: APIs & Services → Credentials
- Click: Create Credentials → API Key
- Google will generate an API key.
- Copy the API key and save it temporarily.
Do not email the API key publicly or post it online.
Step 6: Restrict the API Key
This is an important security step.
- On the Credentials page, click the new API key.
- Under: Application Restrictions Select: HTTP Referrers (websites)
- Add your website domain:
https://yourdomain.com/* - Also add:
https://www.yourdomain.com/* - Under: API Restrictions Select: Restrict Key
- Choose only the APIs being used, such as:
- Maps JavaScript API
- Places API
- Geocoding API
- Click Save.
Step 7: Grant Website Developer Access
We need access to configure the Maps integration.
- Go to: IAM & Admin → IAM
- Click: Grant Access
- Add the developer email address provided by us.
- Assign the role: Editor (or a more limited custom role if preferred)
- Click Save.
Step 8: Send Confirmation
Once completed, please send:
- Project name
- Project ID
- Confirmation that billing is enabled
You do not need to send the credit card information.
If developer access has been granted, we can retrieve the API key directly from the project and complete the setup.
Why We Recommend Client Ownership
Having the Google Cloud project owned by your organization ensures:
- You control billing
- You retain ownership if developers change
- You can review usage and costs at any time
- Future website vendors can access the project if needed
This is considered a best practice for long-term website management.