Ready-to-use code snippets for building data and AI applications using Databricks Apps.
Learn more about the Databricks Apps Cookbook on apps-cookbook.dev.
- 10+ recipes for common Apps use cases such as reading and writing to and from tables and volumes, invoking traditional ML models and GenAI, or triggering workflows.
- Try recipes in the Cookbook app and simply copy a code snippet to build your own.
- Description of requirements (permissions, resources, dependencies) for each recipe.
- Deploy to Databricks Apps or run locally.
- Snippets for Dash, Streamlit, and FastAPI are available.
Find deployment instructions and all code snippets on apps-cookbook.dev.
We welcome contributions! Submit a pull request to add or improve recipes. Raise an issue to report a bug or raise a feature request.
Not sure what to contribute? Here are some commonly requested samples:
- Write data from a form into a Delta table
- Display coordinates from a Delta table in a map component
- Display data from a Delta table in Streamlit/Dash-native diagram components
- Gradio implementation
- Flask implementation
These samples are experimental and meant for demonstration purposes only. They are provided as-is and without formal support by Databricks. Ensure your organization's security, compliance, and operational best practices are applied before deploying them to production.
Β© 2025 Databricks, Inc. All rights reserved. The source in this notebook is provided subject to the Databricks License. All included or referenced third party libraries are subject to the licenses set forth below.
library | description | license | source |
---|---|---|---|
Plotly | Graphing library for interactive visualizations | MIT | GitHub |
Dash | Framework for building web apps with Plotly | MIT | GitHub |
Streamlit | App framework for Machine Learning and Data Apps | Apache 2.0 | GitHub |
FastAPI | High-performance API framework based on Starlette | MIT | GitHub |