Set up your Databricks Apps workspace and development environment
To build, deploy, and run Databricks apps, your environment must meet specific prerequisites. These include requirements for both your Databricks workspace and your local development environment.
Set up your Databricks workspace
To deploy and run apps in your Databricks workspace, make sure it meets the following requirements:
- The workspace is located in a region that supports serverless compute, as Databricks Apps relies on this infrastructure. See Serverless feature availability.
- The network configuration (such as VPC firewall rules or egress controls) allows outbound access to the
*.databricksapps.com
domain.
Set up your development environment
To create apps locally and deploy them to your Databricks workspace, your development environment must meet the following requirements:
-
Python version 3.11 or above installed.
-
Databricks CLI, v0.229.0 or above, configured to access your Databricks workspace. To install or update the CLI, see Install or update the Databricks CLI.
Databricks recommends using OAuth user-to-machine (U2M) authentication. See Authentication for the Databricks CLI.
-
Databricks SDK for Python installed. Install with:
pip3 install databricks-sdk
-
(Optional) Databricks SQL Connector for Python installed, if your app needs to access Databricks SQL. Install with:
pip3 install databricks-sql-connector