Access to a Google Drive
Perform the following setup steps to initially access your Google Drive.
Follow the "Step 1" procedure in the article "Build your first Drive app (Java)" in the Google Drive APIs documentation.
This procedure turns on the Google Drive API and creates a
credentials.json
file.Rename the
credentials.json
file toclient_secret.json
. Copy and paste the renamed file into thedata-integration/plugins/pentaho-googledrive-vfs/credentials
directory.Restart PDI.
The Google Drive option does not appear when creating a VFS connection until you copy and paste the
client_secret.json
file into thecredentials
directory and restart PDI.Log in to your Google account.
Enter you Google account credentials and log in. The Google Drive permission window displays.
Click Allow to access your Google Drive Resources.
After this initialization, Pentaho stores a security token called StoredCredential in the data-integration/plugins/pentaho-googledrive-vfs/credentials
directory. With this token, you can access your Google Drive resources whenever you log in to your Google account. If this security token is deleted, you are prompted to log in to your Google account after restarting PDI. If you change your Google account permissions, you must delete the token and repeat the previous steps to generate a new token.
Note: If you want to access your Google Drive via a transformation running directly on your Pentaho Server, copy then paste the StoredCredential and the client_secret.json
files into the pentaho-server/pentaho-solutions/system/kettle/plugins/pentaho-googledrive-vfs/credentials
directory on your Pentaho Server.
Last updated
Was this helpful?