Authorization
When you add a Databricks card to a flow for the first time, Okta Workflows prompts you to configure the connection. This connection links to your Databricks account and saves your account information, so you can reuse this connection for future Databricks flows.
Note:
You can create multiple unique connections and manage them from the Connections page in the Okta Workflows console.
Before you begin
- You have Databricks account with Account Admin role.
- You have a Databricks service principal and service principal secret.
Create a Databricks service principal
- Sign in to the Databricks account console as an Account Admin.
- Go to and click Add service principal.
- Enter a suitable name for the service principal. This helps in identifying the service principal used for creating Okta Workflows connection.
- Go to Principal information tab and note the service principal integer ID.
- Go to the Roles tab and assign the Account Admin role.
The Databricks service principal is successfully created with the required role. To manage service principals, see Databricks documentation.
Create a Databricks service principal secret
- Sign in to the Databricks account console as an Account Admin.
- Go to and click the service principal to create the Okta Workflows connection.
- Go to Credentials & secrets tab and under the OAuth secrets section, click Generate secret.
- Enter the lifetime for the new secret (in days) and click Generate.
- The service principal secret is successfully generated. Copy the Client ID and Client Secret . These values are required when creating the Okta Workflows connection.
- Click Done.
- Under the OAuth secrets section, copy the Secret ID . This value is required to create the Okta Workflows connection.
To authorize service principal access to Databricks, see Databricks documentation.
Create a connection in Okta Workflows
- Open the Connections tab in the Workflows Console or open a Databricks card.
- Click New Connection.
- Enter a connection Name. This helps to create multiple connections to share with your team.
- Enter a connection Description. This helps for gaining a better understanding of your connection.
- Choose the Cloud Provider as per your Databricks account.
- Enter the Databricks Account ID.
- Enter Client ID, Client Secret, Service Principal ID, and Secret ID.
- Click Create.