How to Create Google Developers Console Project


Before integrating Google Sign-in into the website or access enabled Google APIs, you must have a Google Developers Console project. In the project, you can create credentials, like API Key, OAuth client ID, Service Account Key etc. This tutorial provides the step-by-step guides on how to create Google Developers Console Project and client ID.

Creating Google Developers Console Project

To create Google Developers Console Project and client ID, follow the below steps.

  • Go to the Google Developers Console.
  • From the All Projects dropdown select an existing project, or create a new project by selecting Create a project.
  • On selecting Create a project, a pop-up would appear. Here the project details would be entered.
  • Enter your Project name and click on Create button.
  • The project would be created and you would be redirected to the project dashboard.
  • Go to the API Manager page by clicking on the Enable and manage APIs link.
  • Under the API Manager, select Credentials.
  • Select the OAuth consent screen, choose an Email address, specify the Product name and press the Save button.
  • In Credentials tab, select Create credentials and choose OAuth client ID.
  • Under the Application type select Web application. Enter Name, Authorized JavaScript origins (http://www.codexworld.com), and Authorized redirect URIs (http://www.codexworld.com/google-login/). Authorized redirect URIs is not required for JavaScript API. Press the Create button.
  • OAuth client pop-up would appear with client ID and client secret. Copy the Client ID and Client secret that will need to use to access the APIs.

Conclusion

Client ID and Client secret are needed for using the Google APIs. Check the following tutorials where we’ve used the Client ID and Client secret for accessing Google APIs.
Login with Google Account using JavaScript
Login with Google account using PHP
Login with Google Account in CodeIgniter

Leave a reply

Connect With CodexWorld