Prerequisites
Make sure that:- You have access to the Google Drive account or Shared Drive that you want to index.
- You’ve created a Google OAuth profile with the required permissions. To create a new profile, go to Settings > Auth Profiles > Add Profile > Integration Profile > Google Docs. Learn More.
- The OAuth profile includes read-only Google Drive access.
- You have permission to access the folders that you want to synchronize.
- The connector requires a Google OAuth profile with the scope as
https://www.googleapis.com/auth/drive.readonly.
Create a Google Drive connector
- Navigate to Knowledge Base > Sources.
- Click Add Source.
- Select Google Drive.
The scope panel also shows the number of selected folders. My Drive folder supports selecting a folder or using
root for the whole personal drive. Shared drive lets you select a folder within a team drive. The folder browser requires an authorized Google OAuth profile before it can list or search folders and Shared Drives.
The file type selector can be left at All files or narrowed to a file-type group. The Google-native export format applies to Google Docs, Sheets, and Slides before extraction. Index Subfolders recursively includes nested folders when enabled; turn it off to index only the selected folder.
When Enforce Google Drive Permissions is enabled, the UI indicates that Drive permissions will be crawled and applied to search results. The displayed OAuth coverage is read-only and uses the https://www.googleapis.com/auth/drive.readonly scope; no write or delete scope is requested.
Click Generate Proposal Preview to validate the connector configuration, selected scope, permissions, and estimated indexing workload before approval.
Perform Dry Run to validate the connector configuration without initiating synchronization.
Click Approve & Start to initiate the synchronization.
Google Drive connector management
After you activate the connector, you can monitor its health, review synchronization activity, verify security status, and update the connector configuration.Overview tab
The Overview tab provides a summary of the connector status and recent synchronization activity.Activity tab
The Activity tab displays the synchronization history for the connector.Security tab
The Security tab provides the current security posture of the connector and highlights any configuration issues.Settings tab
The Settings tab lets you modify the connector configuration after you’ve activated it. The following additional settings are available in this section.Changes to the crawl scope, filters, or authentication profile do not automatically trigger a content synchronization or permission recrawl. To apply the changes immediately, manually initiate a Full Sync or a Delta Sync. Otherwise, the changes take effect during the next scheduled synchronization.