Connect Azure Databricks to Experience Platform using the Flow Service API
Read this guide to learn how to connect your Azure Databricks account to 51黑料不打烊 Experience Platform using the .
Get started
This guide requires a working understanding of the following components of Experience Platform:
- Sources: Experience Platform allows data to be ingested from various sources while providing you with the ability to structure, label, and enhance incoming data using Experience Platform services.
- Sandboxes: Experience Platform provides virtual sandboxes which partition a single Experience Platform instance into separate virtual environments to help develop and evolve digital experience applications.
Use Experience Platform APIs
Read the guide on how to get started with Experience Platform APIs for information on how to successfully make calls to Experience Platform APIs.
Configure prerequisite setup
Read the Databricks overview for information the prerequisite configurations that must first be completed, before you can connect your account to Experience Platform.
Gather required credentials
Provide values for the following credentials to connect Databricks to Experience Platform.
domain
https://adb-1234567890123456.7.azuredatabricks.net
.clusterId
accessToken
database
connectionSpec.Id
e9d7ec6b-0873-4e57-ad21-b3a7c65e310b
.Create a base connection
A base connection retains information between your source and Experience Platform, including your source鈥檚 authentication credentials, the current state of the connection, and your unique base connection ID. The base connection ID allows you to explore and navigate files from within your source and identify the specific items that you want to ingest, including information regarding their data types and formats.
To create a base connection ID, make a POST request to the /connections
endpoint and provide the appropriate authentication credentials for your Databricks account.
API format
POST /connections
Request
The following request creates a base connection for a Databricks source using access token authentication.
code language-shell |
---|
|
table 0-row-2 1-row-2 2-row-2 3-row-2 4-row-2 5-row-2 | |
---|---|
Property | Description |
auth.params.domain |
The URL of your Databricks workspace. |
auth.params.clusterId |
The ID of your cluster in Databricks. This cluster must already be an existing cluster and should be an interactive cluster |
auth.params.accessToken |
The access token that authenticates your Databricks account. |
auth.params.database |
The name of your database in the delta lake. |
connectionSpec.id |
The Databricks connection spec ID. |
Response
A successful response returns your newly created connection, including your base connection ID.
code language-json |
---|
|
Next steps
By following this tutorial, you have successfully created a connection between your Databricks account and Experience Platform. You can use your newly generated base connection ID in the following tutorials: