Create a Google Drive connection
This feature is in Beta. Workspace admins can control access to this feature from the Previews page. See Manage Databricks previews.
Create a Google Drive connection in Catalog Explorer to store authentication credentials for Lakeflow Connect ingestion. Any user with the USE CONNECTION privilege on the connection can then create Google Drive ingestion pipelines without needing direct access to the credentials.
Alternatively, admin users can create a connection and a pipeline at the same time in the data ingestion UI. See Create an ingestion pipeline.
For privilege requirements, see Connect to managed ingestion sources.
Prerequisites
Complete the source setup. Use the OAuth 2.0 client credentials and Google account you obtain to create the connection.
Create a connection
-
In the Databricks workspace, click
Catalog > Create > Create a connection.
-
On the Connection basics page of the Set up connection wizard, enter a unique Connection name.
-
In the Connection type drop-down menu, select Google Drive.
-
(Optional) Add a comment.
-
Click Next.
-
On the Authentication page, enter the following credentials:
- Client ID: The client ID from the source setup.
- Client secret: The client secret from the source setup.
-
Click Sign in with Google.
You're redirected to the Google authorization page.
-
Sign in with the Google account you added as a test user during source setup and authorize the requested scopes.
You're redirected to the Databricks workspace.
-
Click Create connection.