> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trusapien.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Drive

> Connect your Google Drive data so your Agents can search and reference it through Knowledge Grounding

Connect your Google Drive so your Agents can access documents, spreadsheets, presentations, and other files you and your team rely on.

<Info>
  Once connected, your Agents can search documents, spreadsheets, presentations, PDFs, and other files from Google Drive through [Knowledge Grounding](/overview/platform/knowledge-grounding). You control which Connectors are active for each conversation: toggle Google Drive on or off from the Knowledge Grounding filter in the chat input bar.
</Info>

## Setting up

<Steps>
  <Step title="Navigate to your Connections page">
    Go to Settings, then open the Connections tab. Find Google Drive in the list of available connectors.
  </Step>

  <Step title="Authenticate with Google">
    You will be redirected to Google's OAuth flow. Sign in with your Google account and grant access to your Drive files.
  </Step>

  <Step title="Select folders">
    Choose which folders or shared drives your Agents should have access to. You can connect your personal drive, shared drives, or both.
  </Step>

  <Step title="Complete the connection">
    Save your settings. Your Agents will begin indexing your Drive content.
  </Step>
</Steps>

<AccordionGroup>
  <Accordion title="Using OAuth (recommended)">
    The default authentication method. You sign in with your Google account and authorize access. This is the simplest approach for most users.
  </Accordion>

  <Accordion title="Using a service account">
    If your organization uses Google Workspace with service accounts, you can authenticate using a service account JSON key file. Upload the key file during setup and specify which drives to access.
  </Accordion>
</AccordionGroup>

## What your Agents can access

Once connected, your Agents have access to documents, spreadsheets, presentations, PDFs, and other files from Google Drive. This content becomes searchable through Knowledge Grounding and is referenced when relevant to your requests.

Your Google Drive data works alongside your other connected tools and [Vault documents](/overview/platform/vaults) to give your Agents a comprehensive view of your organization's information.

<Note>
  Having trouble setting up this Connector? Contact us at [support@trusapien.com](mailto:support@trusapien.com).
</Note>

<CardGroup cols={2}>
  <Card title="Knowledge Grounding" icon="magnifying-glass" href="/overview/platform/knowledge-grounding">
    How your Agents search your connected data
  </Card>

  <Card title="All Connectors" icon="plug" href="/connectors/overview">
    Browse all 39 available Connectors
  </Card>
</CardGroup>
