Directorybox API Settings

How to create and configure Google API keys

1414 views November 22, 2023 November 24, 2023 Chimp 0

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  http://{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 plus. See screenshot.