Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
---
title: "Databricks connection"
sidebarTitle: "Databricks"
description: "Learn how to configure a Databricks Connection for Infisical."
---
import ConfigureServicePrincipal from "/snippets/app-connections/databricks/configure-service-principal.mdx";
import ConnectionFormFields from "/snippets/app-connections/databricks/form-fields.mdx";
A Databricks connection authenticates Infisical to your Databricks workspace using a [service principal](https://docs.databricks.com/en/admin/users-groups/service-principals.html) that you create for it.
<Note>
This guide doesn’t configure any behavior—it just authenticates Infisical with Databricks. Once the app connection is ready, you can [use it to set up integrations](#step-3-configure-integrations).
</Note>
## Step 1: Configure a service principal in Databricks
<ConfigureServicePrincipal />
## Step 2: Create the app connection
Next, create the app connection in Infisical.
<Tip>
To create the connection using the API, use the [Create Databricks Connection](/api-reference/endpoints/app-connections/databricks/create) endpoint.
</Tip>
<View title="Organization-level">
<Steps>
<Step>
In the sidebar, select **Organization Settings**, then open the **App Connections** tab.

</Step>
<Step>
Select **+ Add Connection** and choose **Databricks Connection**.

</Step>
<Step>
Select the **Service Principal** method, then fill out the form's fields:
<ConnectionFormFields />
Then, select **Connect to Databricks**.

</Step>
</Steps>
</View>
<View title="Project-level">
<Steps>
<Step>
In your Secrets Management project, select **Integrations** from the sidebar, then open the **App Connections** tab.
</Step>
<Step>
Select **Add Connection** and choose **Databricks Connection**.

</Step>
<Step>
Select the **Service Principal** method, then fill out the form's fields:
<ConnectionFormFields />
Then, select **Connect to Databricks**.

</Step>
</Steps>
</View>
<Check>
Your Databricks app connection is ready to use.
</Check>
## Step 3: Configure integrations
Now that your Databricks app connection is configured, you can use it to set up the following integrations:
<CardGroup cols={2}>
<Card title="Databricks secret sync" icon="refresh-cw" href="/integrations/secret-syncs/databricks">
Sync secrets from Infisical to a Databricks secret scope.
</Card>
<Card title="Databricks service principal secret rotation" icon="key" href="/documentation/platform/secret-rotation/databricks-service-principal-secret">
Rotate the OAuth client secret of a Databricks service principal.
</Card>
</CardGroup>