Hi All,

Find detailed post about steps to be taken to create a connection to your google drive using Talend.

1. Obtain access token to your google drive account.

a. Go to Google API Console

b. Create a new project, by clicking the drop down near Google API.

     addproject

    addproject1

c. Name your new project. I have named here as TalendProject

   addproject2

d. Go to the Library page and in the search panel, search Drive API and then click ENABLE to enable the Google Drive API that allows clients to access resources from Google Drive.

     apilib

     driveapi

     driveapenbi

e. Go to Credentials screen and click “Configure Consent Screen”

     credscreen

f. Go to the  OAuth consent screen in the left panel and select @External@ as shown below. Click Create

     oAuth

g. set a product name in the Product name shown to users field. In this example, it is TalendProduct. When done, click Save to save the change.

     oAuth1

h. Go to Credentials page, Select web application and name it “TalendWebClient”. Also set  Authorized redirect URIs to https://developers.google.com/oauthplayground.

     createcred4

i. Go to the Google Developers OAuth 2.0 Playground, click OAuth 2.0 Configuration and select Use your own OAuth credentials check box, enter the OAuth client ID and client secret you have already created in the OAuth Client ID and OAuth Client secret fields respectively.

     oAuthConfig

j. In OAuth 2.0 Playground Step 1, select the scope https://www.googleapis.com/auth/drive for the Google Drive API and click Authorize APIs, then click Allow to generate the authorization code.