Get connection details for a Databricks compute resource

To connect a participating app, tool, SDK, or API to a Databricks compute resource such as a Databricks cluster or a Databricks SQL warehouse, you must provide specific information about that cluster or SQL warehouse so that the connection can be made successfully.

To get the connection details for a Databricks cluster, do the following:

  1. Log in to your Databricks workspace.

  2. In the sidebar, click Compute.

  3. In the list of available clusters, click the target cluster’s name.

  4. On the Configuration tab, expand Advanced options.

  5. Click the JDBC/ODBC tab.

  6. Copy the connection details that you need, such as Server Hostname, Port, and HTTP Path.

To get the connection details for a Databricks SQL warehouse, do the following:

  1. Log in to your Databricks workspace.

  2. In the sidebar, click SQL > SQL Warehouses.

  3. In the list of available warehouses, click the target warehouse’s name.

  4. On the Connection Details tab, copy the connection details that you need, such as Server hostname, Port, and HTTP path.