Back in June, 2016 it was announced by Google that a Google Maps API key would now be required when adding Google Maps to your website. Currently any existing Google Maps are still valid however new maps won’t be able to function without an API key.

Luckily its easy to set up an API key and I will run through the steps:

  1. Head to the Google developer Get a Key/Authentication page.
  2. Scroll down to Get an API key and click on the Get a Key button. You will need to be logged into your Google account to get the key.
  3. Enter your Project Name and accept the Terms of Service. Click on Create and Enable API key.
  4. Paste you API key in place of YOUR_API_KEY. You will find this line of code on the page which you inserted your Google Maps on.
<script async defer src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap"
  type="text/javascript"></script>

And that’s it. If you are having any trouble check out the Google Developers Get a Key/Authentication page or refer to their overall error messages if you are experiencing any other issues.