Skip to main content
Connect Google Drive to Realm to make documents, spreadsheets, presentations, and other files searchable. Navigate to Settings > Data sources and click Connect on Google Drive, or click Manage if already connected.

Connecting Google Drive

Click Connect on the Google Drive data source page. You’ll be redirected to Google’s OAuth consent screen. Review the permissions and click Allow. The person connecting should be a Google Workspace admin or have access to the Shared Drives you want to sync.
Google OAuth consent screen showing the permissions Realm requests
Once authorized, you’ll be redirected back to Realm to select which drives to sync.

What gets synced

ContentSynced
Google DocsYes
Google Sheets (cell values, up to 5,000 rows per tab)Yes
Google Slides (including speaker notes)Yes
PDFsYes
Microsoft Office files (.docx, .pptx, .xlsx)Yes
Plain text and VTT subtitle filesYes
Google FormsNo
Google SitesNo
Images, videos, and foldersNo
Comments and suggestions on filesNo

Selecting drives

After connecting, choose which Shared Drives to sync from the list of available drives. You can add or remove drives at any time from the data source page.

Personal drives

In addition to admin-configured Shared Drives, individual users can connect their own Google Drive from Settings > Preferences > Personal Drives. Files synced this way respect Google Drive’s native permissions, so other users who already had access to the same files will also see them in Realm.

Permissions

Realm enforces Google Drive’s native permission model. Users can only see files they have access to in Google Drive. You can override this by switching to “Everyone in this organization” on the data source settings page, which makes all synced Google Drive data visible to all Realm users.

Restricting API access

Realm only syncs the Shared Drives you select. To further limit API access:
  1. Create a Google Workspace account (e.g., realm@your-domain.com)
  2. Share only the Shared Drives you want Realm to access with this account
  3. Connect Google Drive using this account