# Google Drive

> Google Drive - For self-managed AI platform users, Google OAuth must be configured by an
> administrator. For information on configuring OAuth in Google, see the following pages in Google's
> documentation:

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-04-24T16:03:56.650951+00:00` (UTC).

## Primary page

- [Google Drive](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html): Full documentation for this topic (HTML).

## Sections on this page

- [Supported authentication](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#supported-authentication): In-page section heading.
- [OAuth](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#oauth): In-page section heading.
- [Service account](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#service-account): In-page section heading.
- [Prerequisites](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#prerequisites): In-page section heading.
- [Set up a connection in DataRobot](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#set-up-a-connection-in-datarobot): In-page section heading.
- [Required parameters](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#required-parameters): In-page section heading.
- [Feature considerations](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#feature-considerations): In-page section heading.
- [Troubleshooting](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/dc-gdrive.html#troubleshooting): In-page section heading.

## Related documentation

- [Reference documentation](https://docs.datarobot.com/en/docs/reference/index.html): Linked from this page.
- [Data reference](https://docs.datarobot.com/en/docs/reference/data-ref/index.html): Linked from this page.
- [Supported data stores](https://docs.datarobot.com/en/docs/reference/data-ref/data-sources/index.html): Linked from this page.
- [select a data source](https://docs.datarobot.com/en/docs/agentic-ai/vector-database/vector-dbs.html#add-a-data-source): Linked from this page.
- [Account Settings > Data connectionspage](https://docs.datarobot.com/en/docs/platform/acct-settings/nxt-data-connect.html): Linked from this page.
- [Allowed source IP addresses](https://docs.datarobot.com/en/docs/reference/data-ref/allowed-ips.html): Linked from this page.

## Documentation content

# Google Drive

> [!NOTE] Self-Managed AI Platform installations
> The Google Drive connector will be automatically installed and does not need to be manually added.

## Supported authentication

- Google OAuth
- Google Service Account

### OAuth

For self-managed AI platform users, Google OAuth must be configured by an administrator. For information on configuring OAuth in Google, see the following pages in Google's documentation:

- Configure the OAuth consent screen and choose scopes
- OAuth client ID credentials NoteNote the following when configuring OAuth consent and client ID credentials:Required scopes for Google Drive:https://www.googleapis.com/auth/driveAuthorized JavaScript origins URI:https://xxx.datarobot.comRedirect URI:https://xxx.datarobot.com/account/google/google_authz_return

Your DataRobot admin must then configure OAuth credentials (client ID and secret) in the environment variables `GOOGLE_AUTH_CLIENT_ID` and `GOOGLE_AUTH_CLIENT_SECRET`. For more information, see the BigQuery & Google Drive section of the DataRobot Installation Guide.

### Service account

For information on configuring these credentials, see [Service account credentials](https://developers.google.com/workspace/guides/create-credentials#service-account) in the Google documentation.

When creating service account credentials, you also need to obtain credentials in the form of a key pair. For more information on creating a key pair, see [Create credentials for service account](https://developers.google.com/workspace/guides/create-credentials#create_credentials_for_a_service_account) in the Google documentation.

## Prerequisites

The following is required before connecting to Google Drive in DataRobot:

- A Google account authenticated with OAuth or a Google Service Account
- Data stored in Google Drive

## Set up a connection in DataRobot

To connect to Google Drive, create a vector database, and when you [select a data source](https://docs.datarobot.com/en/docs/agentic-ai/vector-database/vector-dbs.html#add-a-data-source), add Google Drive as the connection. Once you authenticate the connection with OAuth, a credential named `gdrive-oauth` is automatically created.

You can also set up a Google Drive connection from the [Account Settings > Data connectionspage](https://docs.datarobot.com/en/docs/platform/acct-settings/nxt-data-connect.html).

## Required parameters

Parameters are not required to connect to Google Drive.

## Feature considerations

- The Google Drive connector only supports unstructured data and is only available during vector database creation.
- You can only add and view the Google Drive connector as part of the vector database create workflow and from Account settings > Data connections . You cannot view Google Drive connections in other areas where you work with datasets (structured data), for example, the Browse data modal in NextGen or the AI Catalog in DataRobot Classic.
- If you are connecting to both Google Drive and BigQuery with OAuth authentication, deleting the Google Drive OAuth credential gdrive-oauth will also remove the BigQuery OAuth credential (if it exists).

## Troubleshooting

| Problem | Solution | Instructions |
| --- | --- | --- |
| When attempting to execute an operation in DataRobot, the firewall requests that you clear the IP address each time. | Add all allowed IPs for DataRobot. | See Allowed source IP addresses. If you've already added the allowed IPs, check the existing IPs for completeness. |
| Issue authenticating Google DriveNeed to reset the Google user assigned to authentication | Locate and remove the gdrive-oauth credential. | In DataRobot, navigate to the Credentials Management tab.Select the gdrive-oauth credential and click Delete.Select User Settings > Data Connections.Reauthenticate your Google Drive data connection. |
| Issue authenticating Google Drive | Remove authentication consent in Google Cloud console. | Navigate to your Google Account permissions.Select DataRobot under third-party applications.Click Remove Access. |
