> For the complete documentation index, see [llms.txt](https://docs.tonic.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tonic.ai/fabricate/workspaces/workspace-server-connections/server-connection-details/databricks.md).

# Databricks

For Databricks:

<figure><img src="https://4109733485-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FmoU4gTR9LxlzHeWmQCUZ%2Fuploads%2FKsW03cuICokttilEvn4k%2FWorkspace_NewServerConnectionDatabricks.png?alt=media&amp;token=a6a1ef1e-f7ef-4014-9745-01aefb2dacaf" alt=""><figcaption><p>New Server Connection panel for a Databricks server connection</p></figcaption></figure>

## Identifying the host

In the **Host** field, provide the host where the database is located.

## Connecting through an SSH tunnel

To connect through an SSH tunnel:

1. Check the **Connect through a tunnel** checkbox.
2. From the **Tunnel** dropdown list, either:
   1. Select an existing network tunnel to use.
   2. To create a new tunnel, select **Add a new workspace network tunnel**.

If you select the option to create a new tunnel, Fabricate displays the **Add Network Tunnel** panel for you to configure the new tunnel.

For information about how to configure a network tunnel, go to [Configuring available SSH tunnels for a workspace](/fabricate/workspaces/workspace-network-tunnels.md#adding-a-tunnel).

## Configuring the authentication

### Selecting the type of authentication

From the **Credential Type** dropdown list, select the type of authentication to use. The options are:

* **Service Principal**
* **Personal Access Token**

### Using service principal authentication

For **Service Principal** authentication:

1. In the **Client ID** field, provide the client identifier.
2. In the **Secret** field, provide the secret that is associated with the client identifier.

### Using a personal access token

For **Personal Access Token** authentication, in the **Access Token** field, provide the access token to authenticate to the database.

## Identifying the data warehouse

In the **Warehouse ID** field, provide the data warehouse for the data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.tonic.ai/fabricate/workspaces/workspace-server-connections/server-connection-details/databricks.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
