Set up the Databricks spoke
Integrate your ServiceNow instance and the Databricks workspace by using an OAuth secret to authenticate the ServiceNow requests.
Before you begin
- Request an Integration Hub subscription.
- Activate the Databricks spoke.
- Role required: admin.
Create an OAuth secret in Databricks workspace
Create an OAuth secret in Databricks workspace to authenticate the ServiceNow requests.
Before you begin
Role required: admin
Procedure
-
Log in to the Databricks workspace as an admin.
-
Click the user icon and click Settings.
-
Under Workspace admin, click Identity and access.
-
On the Identity and access page, for Service principals click Manage.
-
On the Service principals page, click Add service principal.
-
On the Add service principal form, click Add new.
-
On the Add service principal form, select the Databricks Managed option and for Service principal name, enter a name to identify the record.
-
Click Add.
Service principal is added to the workspace and the list of service principals records is displayed.
-
Click and open the service principal record you have created.
-
Click the Secrets tab.
-
Under OAuth secrets, click Generate secret.
-
On the Generate OAuth secret form, for Lifetime (days) enter the required number of days the secret should be valid for.
-
Click Generate.
The values of Secret and Client ID are generated.
-
Copy the values of Secret and Client ID for later use and click Done.
-
Click the Permissions tab.
-
Click Grant access.
-
On the Grant access to others form, select User, Group or Service principal and Permission as per your requirement and click Save.
Configure a connection for the Databricks spoke
Configure a connection to your Databricks workspace. The Databricks spoke connection and credential aliases use these connections to perform actions in the Databricks workspace.
Before you begin
Role required: admin.
Procedure
-
Navigate to All > Process Automation > Workflow Studio.
-
Click the Integrations tab.
-
Under Connections, toggle and enable the Outbound connections.
-
Locate the alias for Databricks and click View Details.
-
To configure the default connection and credential alias record that is shipped along with the Databricks spoke, click View Details.
[Omitted image "databricks-connection.png"] Alt text: Databricks spoke connection alias details
-
To manage more than one Databricks spoke connection records, you should create a new child alias record by clicking Add Connection. For more information about using multiple connections, see Supporting multiple connections. If you are configuring the spoke for the first time, click Configure. Otherwise, click Edit.
[Omitted image "databricks-connection-conf.png"] Alt text: Initial connection configuration for the Databricks spoke
-
-
On the form, fill in these fields:
Field Value required Connection Information Connection Name Auto-generated name to identify the connection record. Connection URL URL of the Databricks workspace. Use MID Select to connect to the Databricks workspace through a MID Server. Credential Information OAuth Client ID Client ID you created in the Databricks workspace. OAuth Client Secret Key value you created in the Databricks workspace. Connect to Auth Server via MID Server Select to connect to the authorization server through a MID Server. OAuth Token URL URL of the Databricks OAuth token endpoint. [Omitted image "databricks-conf-temp.png"] Alt text: Configure a connection for the Databricks spoke
-
Click Save and Get OAuth Token.
Result
The spoke connection is configured and ready to be used.
---
title: Set up the Databricks spoke
description: Integrate your ServiceNow instance and the Databricks workspace by using an OAuth secret to authenticate the ServiceNow requests.Create an OAuth secret in Databricks workspace to authenticate the ServiceNow requests.Configure a connection to your Databricks workspace. The Databricks spoke connection and credential aliases use these connections to perform actions in the Databricks workspace.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/integrate-applications/integration-hub/databricks-spk-setup.html
release: brazil
product: Integration Hub
classification: integration-hub
topic_type: task
last_updated: "2026-03-12"
reading_time_minutes: 2
breadcrumb: [Databricks Spoke, Integration Hub spokes, Build integrations, Integration Hub, Workflow Data Fabric]
---
# Set up the Databricks spoke
Integrate your ServiceNow instance and the Databricks workspace by using an OAuth secret to authenticate the ServiceNow requests.
## Before you begin
- Request an Integration Hub subscription.
- Activate the Databricks spoke.
- Role required: admin.
## Create an OAuth secret in Databricks workspace
Create an OAuth secret in Databricks workspace to authenticate the ServiceNow requests.
### Before you begin
Role required: admin
### Procedure
1. Log in to the Databricks workspace as an admin.
2. Click the user icon and click **Settings**.
3. Under **Workspace admin**, click **Identity and access**.
4. On the Identity and access page, for **Service principals** click **Manage**.
5. On the Service principals page, click **Add service principal**.
6. On the Add service principal form, click **Add new**.
7. On the Add service principal form, select the **Databricks Managed** option and for **Service principal name**, enter a name to identify the record.
8. Click **Add**.
Service principal is added to the workspace and the list of service principals records is displayed.
9. Click and open the service principal record you have created.
10. Click the **Secrets** tab.
11. Under **OAuth secrets**, click **Generate secret**.
12. On the Generate OAuth secret form, for **Lifetime \(days\)** enter the required number of days the secret should be valid for.
13. Click **Generate**.
The values of **Secret** and **Client ID** are generated.
14. Copy the values of **Secret** and **Client ID** for later use and click **Done**.
15. Click the **Permissions** tab.
16. Click **Grant access**.
17. On the Grant access to others form, select **User, Group or Service principal** and **Permission** as per your requirement and click **Save**.
## Configure a connection for the Databricks spoke
Configure a connection to your Databricks workspace. The Databricks spoke connection and credential aliases use these connections to perform actions in the Databricks workspace.
### Before you begin
Role required: admin.
### Procedure
1. Navigate to **All** > **Process Automation** > **Workflow Studio**.
2. Click the **Integrations** tab.
3. Under **Connections**, toggle and enable the **Outbound** connections.
4. Locate the alias for **Databricks** and click **View Details**.
- To configure the default connection and credential alias record that is shipped along with the Databricks spoke, click **View Details**.
\[Omitted image "databricks-connection.png"\] Alt text: Databricks spoke connection alias details
- To manage more than one Databricks spoke connection records, you should create a new child alias record by clicking **Add Connection**. For more information about using multiple connections, see [Supporting multiple connections](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/integrate-applications/integration-hub/support-multiple-connections.md).
If you are configuring the spoke for the first time, click **Configure**. Otherwise, click **Edit**.
\[Omitted image "databricks-connection-conf.png"\] Alt text: Initial connection configuration for the Databricks spoke
5. On the form, fill in these fields:
|Field|Value required|
|-----|--------------|
|Connection Information|
|Connection Name|Auto-generated name to identify the connection record.|
|Connection URL|URL of the Databricks workspace.|
|Use MID|Select to connect to the Databricks workspace through a MID Server.|
|Credential Information|
|OAuth Client ID|Client ID you created in the Databricks workspace.|
|OAuth Client Secret|Key value you created in the Databricks workspace.|
|Connect to Auth Server via MID Server|Select to connect to the authorization server through a MID Server.|
|OAuth Token URL|URL of the Databricks OAuth token endpoint.|
\[Omitted image "databricks-conf-temp.png"\] Alt text: Configure a connection for the Databricks spoke
6. Click **Save and Get OAuth Token**.
### Result
The spoke connection is configured and ready to be used.
| title | Set up the Databricks spoke |
| description | Integrate your ServiceNow instance and the Databricks workspace by using an OAuth secret to authenticate the ServiceNow requests.Create an OAuth secret in Databricks workspace to authenticate the ServiceNow requests.Configure a connection to your Databricks workspace. The Databricks spoke connection and credential aliases use these connections to perform actions in the Databricks workspace. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/integrate-applications/integration-hub/databricks-spk-setup.html |
| release | brazil |
| product | Integration Hub |
| classification | integration-hub |
| topic_type | task |
| last_updated | 2026-03-12 |
| reading_time_minutes | 2 |
| breadcrumb | Databricks SpokeIntegration Hub spokesBuild integrationsIntegration HubWorkflow Data Fabric |