> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fabi.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Databricks

> Connecting Fabi.ai to your [Databricks](https://www.databricks.com/) instance.

<Warning>
  Before connecting, ensure that you whitelist Fabi.ai's IP addresses in your firewall or security group settings:

  * `3.232.60.87`
  * `54.172.255.171`
</Warning>

# Creating a service principal for Databricks

Creating a service principal in Databricks involves setting up programmatic access for tasks like automation, integration, or API-based operations. Service principals provide secure, non-interactive authentication for applications.

In order to generate an access token for service principals, we recommend following the Databricks instructions listed [here](https://docs.databricks.com/aws/en/dev-tools/auth/pat#databricks-personal-access-tokens-for-service-principals).

# Connecting Databricks to Fabi.ai

Once you've generated your service principal credentials, follow the steps in [Connecting to Your Data](/getting_started/connect_data_sources). You'll need:

* **Server hostname**: Your Databricks workspace URL
* **HTTP path**: Found in your cluster/SQL warehouse connection details
* **Access token**: The personal access token generated above
* **Service principal ID**: The application ID of your service principal

<Tip>For information about our industry-leading security practices, check out our [Security hub](https://www.fabi.ai/security).</Tip>
