Connection Setup
Databricks

Overview

To set up connection with Databricks, Statsig needs the following

  • API Key
  • Server Hostname
  • HTTP Path

We can use any cluster in your project to connect to your data, but we recommend using a databricks SQL warehouse/endpoint (opens in a new tab) so that the cluster does not need to spin up for every pull.

API Key

You can generate a new API key by going to "User Settings" in your Databricks console. There, you should be able to generate a new token as shown below.

databricks info

You can also use a personal access token for a service principal. Generate one by following the steps in the doc here (opens in a new tab).

Server Hostname & HTTP Path

You can find your Server Hostname and HTTP Path in your Databricks console by going to your specific cluster, navigating to the "Configuration" tab and expanding the "Advanced options."

credentials