Google Drive

Google Drive

Google Drive

By connecting Slite with Google Drive, you can instantly search and ask about all your documents, presentations, spreadsheets, and other files directly in the Slite Agent. This guide will walk you through the key aspects of the Slite and Google Drive connection.

Connecting Google Drive & the Slite Agent

This is the first step to get started. This section covers how to set up the connection between Slite and Google Drive.

Required permissions for setup

To connect Slite and Google Drive, you must have the necessary permissions in both platforms.
  • In Slite: Permission to add or remove agent sources depends on your team's settings. By default, only workspace admins or owners can set up a connection. However, a Slite admin can enable a setting to allow all members to add and remove agent sources.
  • In Google Drive: The user connecting the account must be an admin in the Google workspace.

Initial Google Drive connection

1) Fetching Google Drive permissions

To begin, a Google workspace admin needs to follow these steps to fetch Google Drive groups permissions:
    Visit the Google Domain Wide Delegation page  here  .
    Click Add new to create a Slite domain wide delegation with the following client ID :
    To copy it, click the block then click the Copy button that appears.
111702337576086278361
    Enter the following OAuth scopes (make sure to keep them comma-separated) :
    To copy them, click the block then click the Copy button that appears.
https://www.googleapis.com/auth/drive.readonly, https://www.googleapis.com/auth/admin.directory.group.readonly, https://www.googleapis.com/auth/admin.directory.user.readonly
    Click Authorize .

2) Connecting Google Drive in Slite

 Once you have completed the above steps , go to Slite and follow these steps to connect Google Drive:
    In Slite, click Agent Sources in the left sidebar (at the bottom).
    Click + New source , then choose or search for Google Drive and click Connect Google Drive .
    A new popup will open. Add the domain of your Google Drive, your admin email address, then click Save .
    The initial data sync will begin.
    Once the initial sync is complete, you can use Google Drive everywhere in the Slite Agent as an agent source.

3) Syncing Google Drive folders in Slite

Once the initial sync has been completed, all the Google Drive folders you have access to will appear in the Available Sources section.
To sync a specific folder, select it, then click Sync 1 Source.
To find a specific folder quickly, you can start typing its name in the search bar at the top, where it says "Filter sources...".
The personal space "My Drive" is a folder and as such it can be indexed. If several "My Drive" folders have been indexed, confusion may arise as they will all have the same name.

How the Slite Agent indexes your Google Drive files

What we sync

Slite Agent syncs the 5000 most recent files from your selected Google Drive folders, including:
  • Google Docs
  • Google Slides
  • PDF files
  • Microsoft Office documents (.docx, .pptx)

What we don't sync

  • Google Sheets
  • Images
  • Videos

Refresh rate

New and updated files will appear in the Slite Agent every 6 hours, but you can always sync manually if needed.

Metadata

To make your search results more useful, the Slite Agent automatically indexes file properties from your Google Drive documents such as:
  • File name and title
  • Creation date
  • Last modified date
  • File type

Access control & privacy

Permissions are respected based on the user's Google account access.
Slite members can only search and access Google Drive files that they have permission to view in Google Drive.
This ensures that private or restricted documents remain secure and are only accessible to authorized users.