databricks-app-python

Build and deploy Python web apps on Databricks Apps with OAuth and resource integration.

38|12|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/databrickslabs/coding-agents-databricks-apps --skill databricks-app-python-databrickslabs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-app-python
Source: https://github.com/databrickslabs/coding-agents-databricks-apps/tree/main/.claude/skills/databricks-app-python
Command: npx skills add https://github.com/databrickslabs/coding-agents-databricks-apps --skill databricks-app-python-databrickslabs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the complexity of building, securing, connecting, and deploying Python web apps, dashboards, and APIs on Databricks Apps, removing the need to manually configure framework-specific settings, authentication flows, and resource connections for each project.

Core Features & Use Cases

  • Multi-framework support: Provides Databricks-specific best practices for Streamlit, Dash, Gradio, Flask, FastAPI, and Reflex, including deployment commands, auth integration, and performance optimization tips.
  • Built-in auth and resource management: Covers app service principal authentication, user on-behalf-of authorization, and connection to SQL warehouses, Lakebase, model serving endpoints, and other Databricks resources without hardcoding sensitive credentials or resource IDs.
  • End-to-end deployment and troubleshooting: Guides users through deployment via Databricks CLI or Asset Bundles, with solutions for common issues like connection errors, auth failures, and port conflicts.
  • Use Case: A data engineering team can use this Skill to build a FastAPI backend that serves ML model predictions from a Databricks serving endpoint, add user-specific access controls, and deploy it to their workspace in minutes.

Quick Start

Use the databricks-app-python skill to build a Streamlit dashboard that displays customer analytics from a SQL warehouse with user-specific row-level security and deploy it to your Databricks workspace.

Frequently Asked Questions about databricks-app-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy a Python web app to Databricks Apps?

To deploy a Python web app to Databricks Apps, use the Databricks CLI or Asset Bundles. This approach provides built-in patterns for framework-specific settings, OAuth authorization, and resource connections to ensure production-grade deployment.

Can I use FastAPI and Streamlit with Databricks Apps?

Yes, Databricks Apps supports FastAPI and Streamlit, alongside Dash, Gradio, Flask, and Reflex. The platform provides specific best practices, deployment commands, and authentication integration patterns for each supported Python framework.

How does authentication work for Python apps deployed on Databricks?

Authentication for Python apps on Databricks covers app service principal authentication and user on-behalf-of authorization. This allows secure connections to SQL warehouses and model serving endpoints without hardcoding sensitive credentials or resource IDs.

What is the best way to connect a Streamlit dashboard to a Databricks SQL warehouse?

The best way to connect a Streamlit dashboard to a Databricks SQL warehouse is using built-in resource integration patterns. This enables secure connections with user-specific row-level security without hardcoding resource IDs directly in the application code.

Why does my Databricks app deployment fail with connection or port errors?

Databricks app deployment failures from connection errors, authentication failures, or port conflicts can be resolved using provided troubleshooting guidance. Common issues stem from incorrect OAuth configuration or resource connection mismatches during runtime.

Do I need Databricks CLI to build and deploy Python dashboards on Databricks Apps?

You need the Databricks CLI or Asset Bundles to deploy Python dashboards on Databricks Apps. These tools facilitate end-to-end deployment, manage multi-environment configurations, and handle framework-specific settings for production applications.