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.

Give a Project Name and click on Create button.

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

And enable by clicking on Enable button.

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

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

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

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.

And enable by clicking on ENABLE button.

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

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

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

Create the OAuth consent screen by clicking Create button.

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

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

Also for Test users, click on Save and Continue.

Click on Back To Dashboard in Summary.

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

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

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

It will create Your Client ID.
Store or copy the OAuth ID and use it where needed.

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

Project Number
Go to Settings from Menu > IAM & Admin.

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