What gets indexed
- Google Docs: full document text
- Google Sheets: cell contents
- Google Slides: slide text
- Uploaded PDFs and other files: extracted text content
- Shared drives: all files in organization-managed shared drives
- My Drive: files in individual users’ drives (when using a service account)
- Shared with me: files shared directly with a user
Prerequisites
You can connect Google Drive using either:- OAuth (recommended for individuals or small teams): authorize with your Google account. Hadiq.io indexes files accessible to that account.
- Service account (recommended for organizations): a Google Cloud service account with domain-wide delegation can impersonate users across the domain and index all Drive content.
- A Google Cloud project with the Drive API enabled
- A service account with domain-wide delegation granted
- A primary admin email to use as the impersonation anchor
Connect Google Drive
1
Go to Admin > Connectors
Navigate to Admin Panel > Connectors and select Google Drive.
2
Choose authentication method
Select OAuth or Service Account depending on your setup.OAuth: Click Authorize with Google and sign in with a Google account that has access to the files you want to index. Grant the requested Drive permissions.Service Account: Paste the contents of your service account JSON key file and enter the primary admin email address.
3
Configure scope
Choose what to index:
- Include shared drives: index all shared drives accessible to the account
- Include My Drive: index the authenticated user’s My Drive (OAuth) or all users’ My Drives (service account)
- Include files shared with me: index files others have shared with the account
- Specific shared drive URLs: enter one or more shared drive URLs to limit indexing to those drives
- Specific folder URLs: enter one or more folder URLs to index only those folders and their contents
4
Save
Click Save. Hadiq.io begins indexing. For large drives, the initial sync may take several hours.
Files larger than the configured size threshold are skipped during indexing. Contact your Hadiq.io admin if large files are missing from search results.
Permission syncing
Hadiq.io maps Google Drive file permissions to search results. Users only see files they have access to in Google Drive.- Files with restricted sharing are only visible to users with explicit access.
- Files shared with your entire domain appear for all users in the organization.
- Files shared via link (anyone with the link) are treated as publicly accessible within Hadiq.io.
Automatic permission sync — where Hadiq.io continuously re-checks file ACLs — is available on the Enterprise plan.
Limitations
- Google Sites are not indexed by the Drive connector (use the Google Sites connector separately).
- Binary files without extractable text (images, videos, audio) are not indexed.
- Files in personal Google accounts outside the organization domain may not be accessible with a service account.