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

# Google Drive

> Share files from Google Drive with Lane — transcripts, research, strategy docs — to ground answers in context that isn't yet in Lane.

The Google Drive integration lets you share files from your Drive with [Lane](/agent) in any chat. Use it when the context you need lives in a Doc or PDF rather than in Lane — sales call transcripts, customer research, strategy memos, competitive notes, anything one-off.

Files stay in Drive. Lane reads them on demand and never copies, modifies, or stores them.

## Overview

Common use cases:

* "Summarize the three sales calls from last week and pull out product requests."
* "What are the recurring objections in these transcripts?"
* "Compare the two research reports — where do they disagree?"
* "Pull the key claims from this strategy doc into a Plan."

Lane reads the shared files for that conversation and can quote, summarize, and cross-reference them like any other context.

## Connect

1. Go to **Settings → Integrations → Google Drive**.
2. Click **Connect** — Lane redirects you to Google's OAuth consent screen.
3. Authorize Lane and return to the integration page.

The page shows "Connected as \[your-email]" once linked.

### Permissions requested

Lane asks for two Google scopes:

* **`drive.file`** — access is granted **per file**, only at the moment you pick that file via Google's picker. Lane never has blanket Drive access.
* **`userinfo.email`** — to identify the connected Google account.

<Note>
  Google's consent screen says "See, edit, create, and delete the Google Drive files that you use with this app" because Google standardizes that scope text. Lane only reads — it never writes, edits, or deletes Drive content.
</Note>

## Using the integration

To share files with Lane:

1. Open any chat.
2. Attach files via the **Google Drive** picker.
3. Pick up to **3 files** per message.
4. Ask your question — Lane reads them as context.

You can change which files are attached on each turn — Lane uses the files attached to the current message.

### Supported file types

| Type              | How Lane reads it      |
| :---------------- | :--------------------- |
| Google Docs       | Exported as Markdown   |
| Google Sheets     | Exported as CSV        |
| Google Slides     | Exported as plain text |
| PDF               | Text extracted         |
| Plain text (.txt) | Read as-is             |
| CSV               | Read as-is             |

Microsoft Office formats (.docx, .xlsx, .pptx), images, audio, and video aren't supported. They're filtered out at the picker stage.

## Limits

* **3 files per message** — Lane reads at most three Drive files in a single turn.
* **Per-file cap: \~50K tokens** (about 200,000 characters). Larger files are truncated to fit.
* **Total budget: \~200K tokens** across the three files combined. If the total is exceeded, later files return as `[content omitted — reference budget exceeded]`.

For longer documents, split into smaller files or paste the relevant section directly into the chat.

## Disconnecting

Two ways:

* **From Lane** — Settings → Integrations → Google Drive → Disconnect.
* **From Google** — Google Account → Security → Third-party apps with account access → remove Lane.

Disconnecting removes the stored token. No content was ever copied into Lane, so there's nothing else to clean up.

## FAQs

**Q: Does Lane store my Drive files?**\
A: No. Files are fetched on demand, cached briefly during a chat for performance, and discarded.

**Q: Can Lane edit or delete files in Drive?**\
A: No. The integration is read-only despite Google's standard scope wording.

**Q: What happens if I delete a file after sharing it?**\
A: Lane reports it couldn't fetch the file. Nothing in Lane breaks.

**Q: Can I share more than 3 files in a conversation?**\
A: Not in a single turn. You can swap files between turns — share one set for the first question, a different set for the next.

**Q: Why doesn't my .docx file work?**\
A: Lane supports Google's native formats plus PDF, plain text, and CSV. Convert Office files to PDF or Google Docs first.

**Q: Who can see the files I share with Lane?**\
A: Only people in the same chat or Plan. Lane doesn't expose Drive files more broadly than they already are in your workspace.
