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

# Google Drive

> Connect BonData to Google Drive to sync your files and folders

Google Drive is Google's cloud storage service for storing, sharing, and collaborating on files and documents. With BonData, you can connect to your Google Drive to read and analyze files and folders within Agent workflows.

## Google Drive OAuth Setup

BonData connects to Google Drive using OAuth 2.0, so you authorize access with your Google account without sharing your password.

### Step 1: Start the Connection

1. In BonData, navigate to **Integrations** and select **Google Drive**
2. Click **Connect with Google**

### Step 2: Sign In with Google

1. You'll be redirected to Google's secure sign-in page
2. Choose the Google account whose Drive you want to connect
3. If you belong to multiple Google Workspace accounts, select the correct one

### Step 3: Grant Access

1. Review the permissions BonData requests
2. Click **Allow** to grant read-only access to your Drive
3. You'll be redirected back to BonData once the connection is authorized

<Note>
  BonData requests read-only access to Google Drive (`drive.readonly` scope). Files and folders are never modified. You can review or revoke access at any time from your [Google account permissions](https://myaccount.google.com/permissions).
</Note>

## Required Fields

OAuth authentication is handled entirely through Google. No additional fields are required after you authorize the connection.

## Available Data

Once connected, BonData can sync:

* **Files** - Files stored in your Drive, including their metadata
* **Folders** - Your folder structure and hierarchy
* **Google Docs** - Exported as text or document formats
* **Google Sheets** - Exported as spreadsheet data
* **Google Slides** - Exported as presentation formats
* **Shared Drives** - Files and folders in shared drives you have access to
