databricks-app-python

Build and deploy Python Databricks apps with authentication, resource bindings, and CLI workflows.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/Blackkadder/databricks-apps-and-agents-workshop --skill databricks-app-python-blackkadder
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-app-python
Source: https://github.com/Blackkadder/databricks-apps-and-agents-workshop/tree/main/.claude/skills/databricks-app-python
Command: npx skills add https://github.com/Blackkadder/databricks-apps-and-agents-workshop --skill databricks-app-python-blackkadder

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps developers and data teams build, secure, and deploy Python web applications and ML demos on the Databricks Apps platform by standardizing authentication, resource wiring, data connectivity, and deployment patterns so apps run reliably in production.

Core Features & Use Cases

  • Multiple framework support: opinionated patterns and deployment commands for Streamlit, Dash, Gradio, Flask, FastAPI, and Reflex.
  • Auth and security: guidance for service principal (app) and on-behalf-of user authorization, OAuth scopes, and safe token handling.
  • Resource-first connectivity: use app.yaml valueFrom bindings for SQL warehouses, Lakebase (PostgreSQL), model serving endpoints, secrets, and volumes.
  • Foundation model integration: client wiring, token caching, structured-output patterns, and parallel LLM calls for chat and evaluation workflows.
  • Deployment & lifecycle: Databricks CLI, Asset Bundles (DABs), and MCP tools workflows plus common troubleshooting and logging practices.

Quick Start

Use the databricks-app-python skill to scaffold and deploy a Streamlit app that connects to a SQL warehouse and a model serving endpoint.

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 Streamlit app on Databricks?

Deploy a Streamlit app on Databricks by using the CLI or Asset Bundles to configure app.yaml valueFrom bindings, set up service principal authentication, and push your Python code to the Databricks Apps platform.

Can I use FastAPI to build a REST API in Databricks Apps?

Yes, FastAPI is supported for building REST APIs in Databricks Apps, providing opinionated patterns for service principal authentication, SQL warehouse connectivity, and resource wiring for production reliability.

What is the best way to configure authentication for a Databricks app?

Configure Databricks app authentication by implementing service principal credentials for automated app access or on-behalf-of user authorization with proper OAuth scopes and safe token handling practices.

How do I connect a Databricks app to a SQL warehouse and Lakebase?

Connect a Databricks app to a SQL warehouse and Lakebase by defining app.yaml valueFrom resource bindings, enabling your Streamlit, Dash, or FastAPI application to securely access configured data sources.

Does Databricks Apps support foundation model integration for chat interfaces?

Yes, Databricks Apps supports foundation model integration through client wiring, token caching, structured-output patterns, and parallel LLM calls for building chat interfaces connected to model serving endpoints.

What frameworks work with Databricks Apps for ML demos?

Streamlit, Dash, Gradio, Flask, FastAPI, and Reflex frameworks work with Databricks Apps for ML demos, providing standardized deployment patterns, resource connectivity, and authentication for Python web applications.