Skip to main content

Connect Google Drive to the Knowledge Base

Connect Google Drive (OAuth) to this project. After the connection is active, add files and folders using Add Google Drive Content.

This page is about the Knowledge Base connector (auth / connection). Separately, agents can call Google Drive live via the agent Google Drive toolkit.

Prerequisites​

You need
A Google account that can authorize Drive access
Browser allowed to complete Google’s OAuth redirect
Permission to manage project Connections / Knowledge Base connectors

Where to connect​

You can reach the same connector from either place:

PathSteps
Project SettingsSettings β†’ Connections β†’ Cloud Storage & Documentation β†’ Google Drive
Knowledge Base SettingsKnowledge Base β†’ Settings β†’ Connectors β†’ Google Drive

The Google Drive tile shows a green status and a connection count when linked.

Connect Google Drive​

  1. Open the Google Drive tile.
  2. Click + Connect Google Drive (or Connect).
  3. Sign in with Google and grant the permissions EKB requests to access Drive files.
  4. Confirm your Google account appears listed under the Google Drive connection.

Google Drive Connected

Disconnect from the Google Drive modal when a link should be removed. Reconnect with the same flow if tokens expire or scopes change.

Next: add content​

With the connection established, ingest files and folders:

Add Google Drive Content to the Knowledge Base β€” URL Upload for file or folder links, Sync refresh, and troubleshooting.

Troubleshooting​

SymptomWhat to check
OAuth fails / returns without a connectionComplete consent on Google; retry from the Google Drive tile; allow popups/redirects
Wrong Google account connectedDisconnect the listed account, then connect again with the intended account
Add content fails after connectSee Add Google Drive Content troubleshooting