Google Drive

Overview

This guide explains how to connect your Google Drive account as an external object storage service within LLM Labs. Integrating Google Drive allows you to directly access and use your files stored in Google Drive within your LLM Labs projects and workflows.

Please note that currently Google Drive external object storage is only available for LLM Labs.

Prerequisites

To connect your drive, you first need its unique Shared Drive ID.

  1. In the left-hand menu, click on Shared drives and open the specific drive you want to connect.

  2. Look at the URL in your browser's address bar. The ID is the long string of characters at the end.

    Example URL:https://drive.google.com/drive/u/0/folders/0A-bCdEfGhIjKlMnOpQrStUvWxYzAbC

    In this example, 0A-bCdEfGhIjKlMnOpQrStUvWxYzAbC is the Shared Drive ID.

  3. Copy this ID. You'll need it in a moment.

Get started

  1. Open the Settings page by clicking on the “Settings” menu in the sidebar.

  2. Once you have opened the Settings page, you need to choose the External Object Storage section. The Manage External Object Storage settings will then be displayed. Consequently, you need to click the Add external object storage button.

  3. A dialog box will appear showing the available providers. Click on Google Drive.

  4. The Google Drive integration dialog will now appear. Paste the Shared Drive ID you copied earlier into the input field. Click the Authorize button.

  5. You will be redirected to a standard Google "Choose an Account" page. Select the Google account that has permission to access the Shared Drive you are connecting.

  6. Google will now ask you to grant Datasaur specific permissions. This is necessary for our app to read the files from your drive and use them in LLM Labs. Click Allow to approve the connection and proceed.

  7. After clicking Allow, you'll be redirected back to Datasaur. Your Google Drive will now appear in your list of connected external storage.

Note on "Unverified App" Warnings

After selecting your account, you might see a screen from Google that says, "Google hasn't verified this app."

This is expected behavior. Please follow these steps to continue:

  1. Click on the Advanced link.

  2. A new link will appear at the bottom. Click on Go to Datasaur (unsafe).

Last updated