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

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

Creating a New Google API Key

  1. Log into you Google account.
  2. In your App list go to the Google Cloud Platform Console. If you can’t locate Google Cloud Platform Console Click on the link to redirect you straight to this page 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.

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

By | 2019-11-14T16:23:45+02:00 November 14th, 2019|Google, Tips, Tricks or Guides|0 Comments
css.php
Need Assistance? Chat with us

Learn more and stay informed about the COVID-19 national pandemic and how it affects you at sacoronavirus.co.za