What you can do
- Sync specific files or folders: Use Google’s Drive picker to choose exactly what enters the index. Files outside the selection are not imported.
- Sync from My Drive and shared drives: Both your personal My Drive and any shared drives you are a member of are available in the picker.
- Include files shared with you: Files and folders other people have shared with your Google account are also pickable.
- Stay in sync automatically: Circuit re-checks the source periodically. Updates and deletions are mirrored to the index.
Before you start
- A Google account (personal or Google Workspace) with access to the files you want to sync.
- For organizations using Google Workspace with restrictions on third-party apps, your Workspace administrator may need to approve Circuit in advance. See For IT and security teams below.
- An index in Circuit where the Drive files should live. See Indexes if you need to create one.
Connect Google Drive
Open the index's Integrations tab
In Circuit, open the index that should receive the Drive files, then choose Integrations > New integration.
Choose Import from Google Drive
Select Import from Google Drive. Circuit redirects you to Google’s sign-in page.
Sign in to Google
Sign in with the Google account that owns or has access to the files you want to sync. If you have multiple Google accounts, pick carefully: Circuit can only see files that account can see.
Review and consent to the requested permissions
Google shows a consent screen listing the Drive scopes Circuit requests. Review them (see What Circuit accesses below) and click Continue.
Pick what to sync
After consent, Circuit opens Google’s Drive picker. Switch between My Drive, Shared drives, and Shared with me to find what you want. Select the files and folders that should be imported into the index. Content outside the selected items is never accessed.
What Circuit accesses
Circuit requests the following Google OAuth scopes:| Scope | Why Circuit needs it |
|---|---|
drive.readonly | View and download files in Drive that your account can access, including My Drive, shared drives you belong to, and files shared with you. This is the scope that lets Circuit import the documents you pick. |
Circuit only reads from the files and folders you select in the picker. Files outside the selected scope are not imported, even though the granted scope technically allows broader access.
My Drive versus shared drives
Two things commonly trip people up:- Shared drives: Files in a shared drive are only visible to your account if you are a member of that drive. If a shared drive is missing from the picker, ask its manager to add you as a member, then reconnect.
- Shared with me: Files that someone shared with your account, but that live in another user’s My Drive, are pickable under Shared with me. If sharing is revoked later, Circuit loses access to those files on the next sync cycle.
For IT and security teams
The Google Drive feed authenticates through a single Circuit-published OAuth application registered with Google. Each user authorizes the app individually, with consent constrained by your Workspace’s app access controls. Workspace administrators can restrict which third-party OAuth apps access Drive data. If your Workspace marks all unconfigured apps as Blocked, users will be unable to complete the Circuit connection until an admin approves the app. See Approving Circuit in Google Workspace for the full walkthrough. For broader cross-integration security details, see Integration security and admin consent.Disconnect or rotate access
- From Circuit: open the index’s Integrations tab, select the Google Drive feed, and click Remove. Circuit deletes the stored refresh token and stops syncing. Already-imported documents stay in the index until you delete them.
- From Google: at myaccount.google.com/permissions, find Circuit and click Remove access. Circuit will lose access on the next sync attempt.
- Workspace-wide revocation: a Workspace admin can change Circuit’s status to Blocked in the API controls, which prevents any user in the workspace from completing the OAuth flow.
Troubleshooting
"Access blocked: this app's request is invalid" or similar at the consent screen
"Access blocked: this app's request is invalid" or similar at the consent screen
Your Google Workspace admin has restricted third-party app access. Ask your admin to mark Circuit as Trusted in the Google Admin Console (see For IT and security teams).
A shared drive does not appear in the picker
A shared drive does not appear in the picker
Files shared with you are missing after a sync
Files shared with you are missing after a sync
Sync stops working after a password change or 2FA reset
Sync stops working after a password change or 2FA reset
The refresh token is invalidated. Open the feed in Circuit and click Reconnect.
A file was updated in Drive but the index still shows the old content
A file was updated in Drive but the index still shows the old content
Updates are picked up on the next sync cycle, usually within a few hours. If the file remains out of date for longer, force a re-sync from the feed’s settings.
Reference
- OAuth flow: Google OAuth 2.0, authorization code
- Scopes requested:
https://www.googleapis.com/auth/drive.readonly - Redirect URI:
https://app.circuit.ai/api/google-oauth - Application name shown on consent screen: Circuit
- Google’s own docs: Drive API auth overview, OAuth 2.0 scopes for Google APIs