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

# Google Drive

> Guide to Integrating Google Drive with ChatNode

The Google Drive integration in ChatNode allows you to leverage your files for agent training efficiently. Follow this guide to set up the integration and keep your agent data updated seamlessly.

## Steps to Integrate Google Drive with ChatNode:

1. **Access the Integration**:

   * Navigate to the **Data** section in your ChatNode dashboard.

   * Under **Integrations**, select **Google Drive**.

<img className="block" src="https://mintcdn.com/chatnode-55/zdeAvi1yfx0QOwoM/images/connect-google-drive.webp?fit=max&auto=format&n=zdeAvi1yfx0QOwoM&q=85&s=032380f505088228b210c29b7e87fe89" alt="Connect Google Drive" width="2928" height="1036" data-path="images/connect-google-drive.webp" />

2. **Connect Your Google Drive Account**:

   * Click on the **Connect** button on the Google Drive panel.

   * A Google authorization window will appear. Select the Google account you want to connect to ChatNode.

   * Click **Continue** to proceed.

<img className="block" src="https://mintcdn.com/chatnode-55/05w5r_aWzpE6k_xA/images/gdrive-connect-choose.webp?fit=max&auto=format&n=05w5r_aWzpE6k_xA&q=85&s=f5e651e0dcb7cad04d4f37c142fb18c6" alt="Gdrive Connect Choose" width="1489" height="519" data-path="images/gdrive-connect-choose.webp" />

3. **Grant Permissions**:

   * ChatNode will request access to your Google Drive. The permissions include viewing and downloading your files.

   * Review the permissions and click **Allow** to enable the integration.

<img className="block" src="https://mintcdn.com/chatnode-55/zdeAvi1yfx0QOwoM/images/allow-gdrive.webp?fit=max&auto=format&n=zdeAvi1yfx0QOwoM&q=85&s=d725a4e893a8cd7754fbca6054ef2ed7" alt="Allow Gdrive" width="1510" height="729" data-path="images/allow-gdrive.webp" />

4. **Confirmation**:

   * After successfully granting access, a pop-up message will confirm that your Google Drive has been connected.

5. **Select Files for Training**:

   * Click the **Select Files** button to browse your Google Drive.

   * Use the search bar or navigate through your folders to find the files you want to integrate.

   * Select the files and click **Select** to add them to your ChatNode agent.

<img className="block" src="https://mintcdn.com/chatnode-55/zdeAvi1yfx0QOwoM/images/connect-google-drive.webp?fit=max&auto=format&n=zdeAvi1yfx0QOwoM&q=85&s=032380f505088228b210c29b7e87fe89" alt="Connect Google Drive" width="2928" height="1036" data-path="images/connect-google-drive.webp" />

6. **Automatic Training**:

   * Once files are selected, they will automatically be trained for agent use. You can monitor the training progress in the Google Drive panel.

<img className="block" src="https://mintcdn.com/chatnode-55/cfvV-wIS_fTY7fm_/images/select-gdrive.webp?fit=max&auto=format&n=cfvV-wIS_fTY7fm_&q=85&s=3a3c033aea86c658cfa8d3dc3fed4c25" alt="Select Gdrive" width="2290" height="1414" data-path="images/select-gdrive.webp" />

#### Managing Your Integrated Files:

1. **Download Files**:

   * Each integrated file has a download option, allowing you to export the file content in `.txt` format for offline use or backups.

<img className="block" src="https://mintcdn.com/chatnode-55/05w5r_aWzpE6k_xA/images/download-file-gdrive.webp?fit=max&auto=format&n=05w5r_aWzpE6k_xA&q=85&s=fe9d8eb2dc06a0b25eab885a2f15e1b6" alt="Download File Gdrive" width="2928" height="1038" data-path="images/download-file-gdrive.webp" />

2. **Retrain with New Information**:

   * If you’ve updated a file in Google Drive, tick the checkbox next to the file in the ChatNode dashboard and click **Retrain**. This ensures the agent uses the most up-to-date data.

<img className="block" src="https://mintcdn.com/chatnode-55/cfvV-wIS_fTY7fm_/images/retrain-file-gdrive.webp?fit=max&auto=format&n=cfvV-wIS_fTY7fm_&q=85&s=fc72252c5d4c840a37747131b48c1111" alt="Retrain File Gdrive" width="2928" height="1038" data-path="images/retrain-file-gdrive.webp" />

3. **Manage Connected Files**:

   * If you need to add new files, repeat the **Select Files** process.

   * For existing files, check the **Last Sync** date to ensure your agent is using the latest version.

<img className="block" src="https://mintcdn.com/chatnode-55/05w5r_aWzpE6k_xA/images/gdrive-select-files.webp?fit=max&auto=format&n=05w5r_aWzpE6k_xA&q=85&s=3ad0ecdd272c3a509b81ffbfbbbc2c53" alt="Gdrive Select Files" width="2928" height="1124" data-path="images/gdrive-select-files.webp" />

#### Benefits of Google Drive Integration:

* **Ease of Use**: Directly pull data from Google Drive without manual uploads.

* **Dynamic Updates**: Retrain your agent with new or updated data instantly.

* **Content Backup**: Download files in `.txt` format for review or archiving.

By integrating Google Drive with ChatNode, you can manage your agent data effortlessly, ensuring it stays accurate and helpful. Use this guide to optimize your workflow and maximize the capabilities of your agent.

## How to Disconnect ChatNode from Your Google Drive

If you need to disconnect ChatNode from your Google Drive, follow these simple steps:

#### Steps to Disconnect ChatNode:

1. **Access Your Google Account**:

   * Open your Gmail or any Google service.

   * Click on your profile picture in the top-right corner.

   * Select **Manage your Google Account** from the dropdown menu.

2. **Navigate to Security Settings**:

   * In your Google Account dashboard, click on the **Security** tab from the left-hand menu.

3. **Locate Third-Party App Connections**:

   * Scroll down to the section titled **Your connections to third-party apps & services**.

   * Find **ChatNode** in the list of connected apps.

   * Click on **ChatNode** to view its details.

4. **Delete Connections**:

   * Scroll down in the ChatNode details section.

   * Click on **Delete all connections you have with ChatNode**.

5. **Confirm Disconnection**:

   * A confirmation pop-up box will appear.

   * Click **Confirm** to proceed with the disconnection.

6. **Confirmation Message**:

   * A message will appear at the bottom of the screen, confirming that you are no longer connected to ChatNode.

   * You can reconnect ChatNode at any time by re-initiating the integration process.

#### Important Notes:

* Disconnecting ChatNode will revoke its access to your Google Drive, but any data previously synced to ChatNode will remain in ChatNode's database unless explicitly deleted.

* If you need further assistance, check ChatNode’s Help Center or contact their support team.

By following these steps, you can ensure that ChatNode no longer has access to your Google Drive. This process is quick and helps you maintain control over your third-party app connections.
