How to obtain a Google Maps API key

If you want to show Google Maps on your website, you need an API key from Google. This page shows you how to obtain this key from Google.

If you want to show Google Maps on your website, you need an API key from Google. This is also true for the maps generated by our Google Map widget. The purpose of the API key is mainly to count how often your Google maps are viewed on the web. There is a free allowance – currently 25,000 free daily views – after which Google will start to charge you for your use of their mapping software.

In version 9 and later, you enter your own Google API key on the Workbook tab of the task pane. For older versions, you must manually add your API key into the generated code to ensure that the map request is approved by Google.

Obtain a unique Google API key

You must register as a web user of Google’s services. If you or your company don’t already have a unique Google API key, you can request one for free from Google at https://developers.google.com/maps/documentation/javascript/get-api-key. The API key defines a business relation between you and Google and looks like this:

Ank-vGEyklDRtmT_rPUgzgjCEzYWrGj7AIzaSyD

It only takes a few minutes to create and it’s something Google requires. If you already have a working API key, you can use it for as many maps as you please.

Note that API keys can be stolen from your web pages and used by anyone unless you restrict them to be valid only for your own domains. Always protect your API keys by using the Accept requests from these HTTP referrers (web sites) option in Google Console where you add your domains in two formats: *.example.com/* and example.com/*.

If one of your API keys is compromised, we recommend that you generate a new one and deactivate the old using the Google Console.

Enable the Google Maps API

In the Google Console, enable the Google Maps API for the API key you have generated.

Activate the API key in SpreadsheetConverter

Enter your Google Map API key on the Workbook tab of the task pane.

Screenshot of the Google Maps API key setting on the Workbook tab of the task pane

If you are using version 1-8, you need to manually add the API key to the converted web page.

Use the Google Map widget

To insert a Google Map on your widget, use the Google Map widget.

Help! I need somebody.

We are always here to help you succeed with SpreadsheetConverter. Please contact our Help Desk if any of your Google Maps don’t appear properly on your website.