databricks-apps-python

Build and deploy Databricks Apps in Python with authentication and resource wiring.

Updated May 20, 2026
One-click install
npx skills add https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks- --skill databricks-apps-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: databricks-apps-python
Source: https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks-/tree/main/.gemini/skills/databricks-apps-python
Command: npx skills add https://github.com/ice-droid-99/BI-Dashboard-Generation-Agent-in-Databricks- --skill databricks-apps-python

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill removes the friction of building Databricks-powered web apps by guiding you through the correct authentication, resource configuration, framework setup, and deployment steps needed to ship working apps.

Core Features & Use Cases

  • Databricks Apps authentication: Supports service principal (app auth) and on-behalf-of user authorization via forwarded access tokens, including OAuth scope guidance.
  • Managed resource integration: Connects apps to SQL warehouses, Lakebase (PostgreSQL), serving endpoints, Unity Catalog volumes, secrets, and other platform resources using app.yaml valueFrom patterns.
  • Framework-ready app patterns: Provides Databricks-specific setup and constraints for AppKit (preferred) plus Python frameworks (Dash, Streamlit, Gradio, Flask, FastAPI, Reflex), including required caching and deployment commands.
  • Deployment workflows: Covers Databricks CLI and Asset Bundles (DABs) deployment approaches, plus post-deployment verification and troubleshooting.
  • Foundation model API examples: Includes example patterns for calling Databricks foundation model serving endpoints with structured outputs and robust JSON parsing.

Quick Start

Ask the Skill to generate a Streamlit app that connects to a Databricks SQL warehouse using app.yaml valueFrom resources and implements user or app authorization correctly.

Frequently Asked Questions about databricks-apps-python

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

FAQPage Schema
How do I authenticate a Streamlit app deployed on Databricks?

To authenticate a Streamlit app on Databricks, use the SDK Config() method. You can configure service principal authentication for direct app access or on-behalf-of user authorization via forwarded access tokens.

What is the correct way to connect a Databricks app to a SQL warehouse?

Connect a Databricks app to a SQL warehouse by wiring resources through app.yaml valueFrom patterns. This securely passes the resource IDs and credentials needed to execute queries.

Can I deploy FastAPI or Flask APIs using Databricks Asset Bundles?

Yes, you can deploy FastAPI, Flask, and other Python frameworks using Databricks Asset Bundles (DABs) or the Databricks CLI. The setup requires applying framework-specific runtime rules and deployment commands.

How do I use Lakebase for transactional state in a Dash web app?

Use Lakebase, a PostgreSQL-based service, to manage transactional state in a Dash web app. You wire the Lakebase instance into your application using the app.yaml valueFrom configuration pattern.

Does Databricks Apps support calling foundation model serving endpoints?

Yes, Databricks Apps supports calling foundation model serving endpoints. You can implement calls with structured outputs and robust JSON parsing directly from your deployed Streamlit, Gradio, or Reflex applications.