Cloud API

  1. Home
  2. Docs
  3. Cloud API
  4. Google

Google

Create New Project

First, create a new project. Click on the project selector from the navbar of Google Cloud Console. Then click on the New Project button. You can go with an existing project if you want.

API- Google New Project
API- Google New Project

Give a Project Name and click on Create button.

API- Google Create Project
API- Google Create Project

Enable Google Picker API

After creating the app, search for Google Picker API and select Google Picker API under the Marketplace section.

API- Google Select Google Picker API
API- Google Select Google Picker API

And enable by clicking on Enable button.

API- Google Enable Google Picker API
API- Google Enable Google Picker API

API Key

Click on Create Credentials from Credentials. It will pop up with some options.

API- Google Create Credentials
API- Google Create Credentials

Click on the API key from the Create Credentials options. It will create the API key.

API- Google Create API Key
API- Google Create API Key

Store or copy the API key and use it where needed.

API- Google Copy API Key
API- Google Copy API Key

Enable Google Drive API

Enable Google Drive API to access Google Drive, search for Google Drive API, and select Google Drive API under the Marketplace section.

API- Google Select Google Drive API
API- Google Select Google Drive API

And enable by clicking on ENABLE button.

API- Google Enable Google Drive API
API- Google Enable Google Drive API

OAuth Client ID

Click on Create Credentials from Credentials. It will pop up with some options.

API- Google Create Credentials
API- Google Create Credentials

Click on the OAuth client ID from the Create Credentials options.

API- Google Create OAuth Client Id
API- Google Create OAuth Client Id

To create an OAuth client ID, first Configure Consent Screen. Click on Configure Consent Screen button.

API- Google OAuth Configure Consent Screen
API- Google OAuth Configure Consent Screen

Create the OAuth consent screen by clicking Create button.

API- Google Create OAuth Consent Screen
API- Google Create OAuth Consent Screen

Enter app information(App name, User support email and Email addresses are required). And click on Save and Continue.

API- Google OAuth Consent Screen App Information
API- Google OAuth Consent Screen App Information

It will move to Scopes. Again Click on Save and Continue.

API- Google OAuth Consent Screen Scopes
API- Google OAuth Consent Screen Scopes

Also for Test users, click on Save and Continue.

API- Google OAuth Consent Screen Test Users
API- Google OAuth Consent Screen Test Users

Click on Back To Dashboard in Summary.

API- Google OAuth Consent Screen Summary
API- Google OAuth Consent Screen Summary

Again, click on Create Credentials from Credentials. It will pop up with some options.

API- Google Create Credentials
API- Google Create Credentials

Click on the OAuth client ID from the Create Credentials options.

API- Google Create OAuth Client Id
API- Google Create OAuth Client Id

Enter Application type, Name, Authorized JavaScript origins, and Authorized redirect URIs. And click on Create button.

API- Google Create OAuth Client Id
API- Google Create OAuth Client Id

It will create Your Client ID.

Store or copy the OAuth ID and use it where needed.

API- Google Copy OAuth Client Id
API- Google Copy OAuth Client Id

Publish App

Go to the OAuth consent screen from APIs & Services and Publish App.

API- Publish App
API- Publish App

Project Number

Go to Settings from Menu > IAM & Admin.

API- Google Admin Settings
API- Google Admin Settings

Store or copy the Project Number and use it where needed.

API- Google Copy Project Number
API- Google Copy Project Number
Tags:
Was this article helpful to you?

How can we help?