Create a Databricks app from a template
Create a Databricks app quickly by starting from a template. The UI guides you through selecting a framework, naming your app, and configuring required resources. Once you create the app, Databricks deploys it with example code and setup instructions to help you begin development locally.
-
In the sidebar, click
New, then select App from the menu.
-
Under Install from a template, click the tab for your preferred framework, and select a template from the list.
-
Configure the required resources that your app needs to function properly. See Add resources to a Databricks app.
-
(Optional) Choose a compute size for the app. See Configure the compute size for a Databricks app.
BetaApp compute sizing is in Beta.
-
Click Next and review the app and user authorization settings.
-
Click Next.
-
Enter an app name and optional description.
note- You can’t change an app name after you create it.
- All users with access to the Databricks workspace can view app names and deployment history.
- Avoid including sensitive information in app names.
- Each app name must be unique within the workspace and can only contain lowercase letters, numbers, and hyphens.
-
Click Install.
Databricks Apps creates and deploys your app, including example code from the template and necessary configuration.
The app details page shows the following:
- The status of the app creation and deployment.
- Instructions for continuing development locally, including copying app artifacts to your environment and syncing changes back to the Databricks workspace.
To learn how to set up your local development environment and update app code, see Develop Databricks apps.
Copy artifacts to your local environment
To copy app artifacts from your workspace to your local development environment, use the Databricks CLI:
databricks workspace export-dir <workspace-path> <target-path>
Replace the following in the command:
<workspace-path>
with the path to the workspace files directory that contains your app code and artifacts.<target-path>
with a path in your local environment to copy the files to.