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

# Google Drive

> Connect your Google Drive so VIS42 agents can search, read, and download your files.

Connect your Google Drive to let VIS42 agents work with your documents and spreadsheets. Your agents can pull contract details, read spreadsheet data, and download files to attach to invoices and bills — all from the same conversation.

## What your agents can do

Once connected, VIS42 agents have three Google Drive capabilities:

* **Search** your Drive for files by keyword — returns up to 20 matches with name, type, and last-modified date
* **Read** a file's content — Google Docs are converted to Markdown, Sheets to CSV, and Presentations to plain text, so agents can process them directly
* **Download** a file to VIS42 storage — the file is saved locally so it can be attached to an invoice or bill

Which agent uses which capability depends on what you ask. For example:

* Ask **Mercury** to *"read the Q3 revenue spreadsheet from Drive"* and it will fetch the Sheet as CSV and summarize the figures.
* Ask **Themis** to *"attach the signed contract to this invoice"* and it will download the file and link it.
* Ask **Pluto** to *"find the audit checklist in Drive"* and it will search for and read the document.

## Connect your Drive

<Steps>
  <Step title="Open agent settings">
    Open any agent (Mercury, Themis, or Pluto) and scroll to the **Connected Services** section.
  </Step>

  <Step title="Click Connect on the Google Drive card">
    You'll be redirected to Google's sign-in and consent screen.
  </Step>

  <Step title="Sign in and authorize">
    Sign in with the Google account that owns the Drive you want to connect, then click **Allow**. You'll be sent back to VIS42 with the integration marked as **Enabled**.
  </Step>
</Steps>

## Privacy and scope

* The connection is **per user, per business** — each team member connects their own Google account.
* VIS42 requests access to your Google Drive files. It can read and download any file your account can access.
* Your access token is encrypted at rest.
* Disconnect at any time from **Connected Services** in the agent settings page. Your token is revoked and removed from VIS42.

## Troubleshooting

<AccordionGroup>
  <Accordion title="Agent says it can't find a file I know exists">
    Search matches file names and content. Try using a more specific keyword, or paste the file name exactly as it appears in Google Drive.
  </Accordion>

  <Accordion title="The integration shows Enabled but the agent can't access files">
    Your token may have expired. Disconnect and reconnect from **Connected Services** to get a fresh token.
  </Accordion>

  <Accordion title="Agent can search and read files but can't download">
    Downloads require a separate permission. Disconnect and reconnect — the consent screen will request the required permissions again.
  </Accordion>

  <Accordion title="I want to revoke access from Google's side">
    In your Google Account, go to **Security** → **Third-party apps with account access** → find **VIS42** → **Remove access**. You'll also want to disconnect from VIS42's agent settings to clean up the local record.
  </Accordion>
</AccordionGroup>
