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 both Dash and Streamlit 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:
- Genie Conversations API samples
- 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.