Google Drive

This page contains the setup guide and reference information for the Google Drive connector.

Prerequisites

Before connecting your Google Drive account, ensure that:

  • You have access to a Google Cloud Platform account.

Setup Guide

Follow these steps to create OAuth credentials and connect Google Drive to Keragon:

00:00: This guide will walk you through the steps to create your client ID and Secret 00:04: in Google Drive. 00:06: Create a new project. 00:09: Enter your project name and save 00:12: Select the project 00:15: Access the oauth consent screen under API and services 00:20: Select internal and create 00:23: Phil app name and user support email 00:26: Phil developer email and click save and continue 00:30: Proceed by clicking save and continue 00:33: Access the enabled apis and services section. 00:37: Select the option to enable apis and services. 00:41: Select the option for managing resources in Google Drive API. 00:46: Click on enable to activate 00:49: Access the credentials section 00:52: Click create credentials and select oauth client ID 00:56: Choose the web application option. 00:59: Fill a name for client 01:02: Add a nouri. 01:05: Phil caragon callback urls 01:08: Click on create to finalize 01:11: Copy your client ID and secret and use them in caragon dashboard. 01:16: This guide covered the process of finding your client ID and Secret in Google 01:20: Drive.

  1. Visit console.cloud.google.com and sign in.

  2. Click Create Project and provide a project name (e.g., "Keragon Google Drive Project"), then click Save.

  3. Click Select Project to activate the newly created project.

  4. In the sidebar, go to API & Services > OAuth consent screen.

  5. Choose Internal as the user type and click Create.

  6. Fill in:

    • App name

    • User support email

    • Developer contact information

  7. Click Save and continue.

  8. Go to Enabled APIs & Services, then click Enable APIs and Services.

  9. Search for and select Google Drive API, then click Enable.

  10. Navigate to Credentials in the sidebar.

  11. Click Create Credentials > OAuth client ID.

  12. Choose Web application as the application type.

  13. Enter a name (e.g., "Keragon").

  14. Under Authorized redirect URIs, add:

    • https://api.us-1.keragon.com/rest/auth/callback

    • https://api.us-east-1.keragon.com/rest/auth/callback

  15. Click Create to generate your credentials.

  16. Copy the Client ID and Client Secret.

  17. Go to app.keragon.com, open the Google Drive connector setup.

  18. Paste the Client ID and Client Secret into their respective fields.

  19. Click Connect to authorize and complete the integration.

Need more help connecting?

Check the fully extended Google Drive connector setup guide for screenshots, detailed steps, and additional context.

Note: Ensure both Keragon redirect URIs are added correctly to avoid redirect errors during authentication.

Troubleshooting and Common Errors

Error Message Cause Suggested Fix
redirect_uri_mismatch Incorrect or missing redirect URI in Google Cloud setup Ensure both Keragon URIs are added exactly in your OAuth client configuration.
invalid_client Incorrect Client ID or Client Secret Double-check that the values are copied accurately from Google Cloud.
access_denied User declined permission during OAuth flow Retry the authorization and accept the requested permissions.
403 Forbidden Missing Google Drive API access or wrong OAuth scope Ensure the Drive API is enabled and correct scopes are selected.

Limitations and Notes

  • The Google Drive connector uses OAuth 2.0 for secure access.

  • Both redirect URIs must be set exactly as shown in your Google Cloud project for successful authentication.

Was this article helpful?
0 out of 0 found this helpful

Articles in this section