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

# Connecting to Google Drive

In CData Sync, you can connect to Google Drive in several ways. Select your authentication method below, then proceed to the relevant section and follow those instructions.

* [**OAuth**](#oauth)
* [**OAuth JWT**](#oauth-jwt)
* [**GCP Instance Account**](#gcp-instance-account)

### OAuth

CData Sync provides an embedded OAuth application with which to connect. To use the application, select **OAuth** for **Auth Scheme**. No additional properties are required.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### OAuth JWT

To connect with an OAuth service account, set the following properties:

* **Auth Scheme:** Select **OAuthJWT**.
* **OAuth JWT Cert:** Enter the multi-line key that is provided by Google.
* **OAuth JWT Cert Type:** Select **GOOGLEJSONBLOB**.
* (Optional) **OAuth JWT Cert Subject:** Only set this value if the service account is part of a GSuite domain and you want to enable delegation. The value of this property should be the email address of the user whose data you want to access.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.

### GCP Instance Account

When you run CData Sync on a GCP virtual machine, Sync can authenticate by using the service account that is tied to the virtual machine. Select **GCPInstanceAccount** for **Auth Scheme** to use that account. No additional properties are required.

After you complete this section, go to *Complete Your Connection* on the connection page to finish setting up the connection.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.