API settings

How to create and configure Google API key for Google map and Autocomplete Search

3774 views August 10, 2016 August 22, 2019 Chimp Group 0

Google have changed its policies about Google maps and location Autocomplete Feature. Just to be clear, it’s the policy directly from Google but not something that we control. You need to create a Google billing account to pay to utilize google maps and Autocomplete features..

Get started here : get started :https://developers.google.com/maps/documentation/javascript/get-api-key

Make sure to enable these API’s to run Google Maps and Autocomplete Suggestions:

1. Directions API
2. Geocoding API
3. Maps Javascript API
4. Places API

Google Maps had made a change that requires a google map API key, regardless of any theme or website. It will just depend on the number of Requests on your site.

To create an API key:

  1. Go to the Google Developers Console .
  2. From the project drop-down, select a project , or create a new one.
  3. Enable the Google+ API service:
    1. In the list of Google APIs, search for the Google+ API service.
    2. Select Google+ API from the results list.
    3. Press the Enable API button.
  4. In the sidebar under “API Manager”, select Credentials.
  5. In the Credentials tab, select the Create credentials drop-down list, and choose API key.
  6. From the Create a new key pop-up, choose the appropriate kind of key for your project: Server key, Browser key, Android key, or iOS key.

Select Server key and do the following;

  1. Enter name of server and enter IP address of server
  2. Click on create. Copy the server key and save it on a safe place.
  3. Now again, click on Create credentials and select Oath Client ID. 
  4. On the next screen web application, you will be asked to name and
  5. Authorized JavaScript origins. Leave it blank.
  6. Authorized redirect URLs by entering your website URL followed by following URL
  7. http://{Your website}/wp-login.php?loginGoogle=1
  8. AND click create. You will see a popup with client ID and client secret.
  9. Copy both and Save.
  10. Now, paste all the credentials you have got.
  11. server key, client ID and client secret
  12. and  https://{Your website}/wp-login.php?loginGoogle=1
  13. Paste them into following place on your website.

Login to wp-admin / jobs / settings / API settings / Google See screenshot.