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

# Google Drive Connector

> Connect your Google Drive to access documents, spreadsheets, and files in AIDE

## Overview

The Google Drive connector allows AIDE to access and search through your Google Drive files, including Google Docs, Sheets, Slides, and other documents. This enables the AI to reference your stored information and provide contextual responses based on your actual documents.

## Key Benefits

<CardGroup cols={2}>
  <Card title="Document Access" icon="file-text">
    Access all your Google Drive documents, spreadsheets, and presentations
  </Card>

  <Card title="Real-Time Sync" icon="refresh-cw">
    Automatically sync with your Google Drive for up-to-date information
  </Card>

  <Card title="Smart Search" icon="search">
    Find specific information across all your Google Drive files
  </Card>

  <Card title="Collaborative Work" icon="users">
    Access shared documents and team collaboration files
  </Card>
</CardGroup>

## Getting Started

<Steps>
  <Step title="Navigate to Connectors">
    Go to the Connectors section in your AIDE dashboard
  </Step>

  <Step title="Select Google Drive">
    Click on the Google Drive connector option
  </Step>

  <Step title="Authenticate">
    Sign in with your Google account and grant necessary permissions
  </Step>

  <Step title="Configure Access">
    Choose which folders and files to connect to AIDE
  </Step>
</Steps>

## Video Tutorial

<div className="relative aspect-video my-8">
  <video autoPlay muted loop playsInline className="w-full aspect-video rounded-xl" src="https://mintlify.s3.us-west-1.amazonaws.com/stepsai/Connecting_to_Google_Drive.mp4">
    Your browser does not support the video tag.
  </video>
</div>

## Connection Process

### Step 1: Access Connectors

* Navigate to the Connectors section in your AIDE dashboard
* Look for the Google Drive connector option
* Click to initiate the connection process

### Step 2: Google Authentication

* Click "Connect Google Drive" to start the authentication process
* You'll be redirected to Google's secure authentication page
* Sign in with the Google account that contains your files
* Grant the necessary permissions for AIDE to access your Drive

### Step 3: Permission Setup

* **Read Access**: Allow AIDE to read your Google Drive files
* **File Discovery**: Enable AIDE to discover and index your documents
* **Sync Permissions**: Grant permission for real-time synchronization

<Tip>
  **Regular Updates**: Keep your Google Drive organized and up-to-date for the most accurate AI responses
</Tip>

## Supported File Types

<CardGroup cols={2}>
  <Card title="Google Docs" icon="file-text">
    Access and search through all your Google Docs documents
  </Card>

  <Card title="Google Sheets" icon="table">
    Reference data and information from your spreadsheets
  </Card>

  <Card title="Google Slides" icon="presentation">
    Access presentation content and slide information
  </Card>

  <Card title="PDF Files" icon="file">
    Search through uploaded PDF documents in your Drive
  </Card>
</CardGroup>

## FAQ

<AccordionGroup>
  <Accordion title="What permissions does AIDE need for Google Drive?">
    AIDE needs read access to your Google Drive files to search and reference them. It cannot modify, delete, or create files in your Drive.
  </Accordion>

  <Accordion title="Can I connect multiple Google accounts?">
    Yes! You can connect multiple Google accounts to access different Google Drive instances, such as personal and work accounts.
  </Accordion>

  <Accordion title="How often does AIDE sync with my Google Drive?">
    AIDE syncs with your Google Drive in real-time, so any changes you make to your files will be reflected immediately in AI responses.
  </Accordion>

  <Accordion title="Can I disconnect Google Drive later?">
    Absolutely! You can disconnect Google Drive at any time through the Connectors section, and AIDE will no longer access your files.
  </Accordion>

  <Accordion title="What happens to my data when I disconnect?">
    When you disconnect, AIDE will stop accessing your Google Drive files, but previously indexed information may still be searchable until cleared.
  </Accordion>

  <Accordion title="Can I connect shared folders and team drives?">
    Yes! You can connect shared folders and Google Workspace team drives, as long as you have access permissions to them.
  </Accordion>
</AccordionGroup>

## Troubleshooting

| Issue                     | Solution                                                              | Prevention                                           |
| ------------------------- | --------------------------------------------------------------------- | ---------------------------------------------------- |
| **Authentication Failed** | Check your Google account credentials and try re-authenticating       | Ensure you're using the correct Google account       |
| **Files Not Appearing**   | Verify folder permissions and check if files are in connected folders | Organize files in clearly structured folders         |
| **Sync Issues**           | Refresh the connection and check your internet connection             | Maintain stable internet connection during setup     |
| **Permission Denied**     | Check Google Drive sharing settings and account permissions           | Review file and folder permissions before connecting |

<Info>
  **Start Small**: Begin by connecting a few important folders and gradually expand as needed
</Info>

## Next Steps

<CardGroup cols={1}>
  <Card title="Connect Gmail" icon="mail" href="/connectors/gmail">
    Connect your Gmail to access email conversations and compose responses
  </Card>
</CardGroup>
