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
All apps require Databricks CLI version 0.229.0 or above, configured to access your workspace. To install or update the CLI, see Install or update the Databricks CLI. Databricks recommends using OAuth user-to-machine (U2M) authentication.
You can develop apps using Python, Node.js, or a hybrid architecture that combines both. Install the following tools based on the languages your app uses.
Python
If you're creating your app using Python, your development environment must meet the following requirements.
-
Python version 3.11 or above installed.
-
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
Node.js
If you're creating your app using Node.js, your development environment must meet the following requirements.
-
Node.js version 22.16 or above installed.
-
(Optional) Databricks SQL Driver for Node.js installed, if your app needs to access Databricks SQL. Install with:
npm i @databricks/sql