SEO Company

Our Blog

Getting an API Key – Step by step procedure to retrieve an API Key

getting api key guide, retrieve api key guide

Creating a New Google API Key

  1. Log into you Google account.
  2. In your App list go to the Google Cloud Platform Console. 
  3. Next is to click on the drop-down menu at the top to create a new project
  4. In the pop-up tab click on New Project
  5. Name your project and select the location folder (Remember to keep naming conventions direct)
  6. Select your newly created project in the top bar where you created your new project
  7. In the left hand pane go to APIs & Services and select Credentials
  8. Click on the Create Credentials drop-down and select API key
  9. A new API key will now be generated.
 

*N.B – Remember to Enable Your API Maps under the APIs & Services > Library

Adding the Google API Key

You should insert an API key with a Javascript API request. Below is and example of inserting your newly generated API key into a script tag.

/* Replace YOUR-API-KEY with your generated API key as seen below*/
<script src="http://maps.google.com/maps/api/js?key=YOUR-API-KEY&amp;callback=initMap" type="text/javascript"></script>

It is strongly recommended to restrict your API key from unauthorized users for security purposes.

Contact Us Today

Category

Latest Blog

Contact Us

How Can We Help You?