Skip to main content

Introduction

Welcome to the Databricks Apps Cookbook!

The Databricks Apps Cookbook contains ready-to-use code snippets for building interactive data and AI applications using Databricks Apps.

These code snippets cover common use cases such as reading and writing to and from tables and volumes, invoking traditional ML models and GenAI, or triggering workflows.

For each snippet, you will find the source code, required permissions, list of dependencies, and any other information needed to implement it.

Currently, we offer snippets for Streamlit, Dash, FastAPI, and Reflex and they can be easily adapted to other Python frameworks.

Interactive samples​

You can find interactive sample implementations for each snippet in the databricks-apps-cookbook GitHub repository. Take a look at the deployment instructions to run them locally or deploy to your Databricks workspace.

Example banner

Use with coding agents​

If you use Cursor, Claude Code, or another coding assistant, you can install cookbook skills and a small recipe MCP so the agent copies these snippets instead of inventing code. That is separate from Databricks workspace MCP (SQL, Genie, Unity Catalog).

See Use with coding agents for install, a from-scratch Cursor and Claude walkthrough, and how to upgrade on the next GitHub release.

Contributing​

We welcome contributions! A new snippet is a recipe (sample + docs + the README index), not a new skill. See CONTRIBUTING.md. Submit a pull request or raise an issue.