Skip to main content Skip to complementary content

How to access Google Drive using client ID and secret

To use client ID and client secret to access Google Drive, you need to first generate the client ID and client secret by completing the following steps using Google Chrome.

Before you begin

A Google account has already been signed up for using Google Drive.


  1. Go to Google API Console and select an existing project or create a new one. In this example, we create a new project TalendProject.
  2. Go to the Library page and in the right panel, find Google Drive API and enable the Google Drive API that allows you to access resources from Google Drive.
  3. Go to the Credentials page, click OAuth consent screen in the right panel and set a product name in the Product name shown to users field. In this example, it is TalendProduct. When done, click Save.
  4. Click Create credentials > OAuth client ID, and in the Create client ID page, create a new client ID TalendApplication with Application type set to Other.
  5. Click Create. You will be shown your client ID and client secret that can be used by Google Drive components and metadata wizard to access Google Drive using the OAuth method Installed Application (Id & Secret).

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!