Build a full-stack, data-driven app on Databricks, fast.
Handed to you by your ELCA Solution Architect, Databricks Champion. Grab us anytime during the hackathon, that's what we're here for. 🙋
The Stack · 🏎️ Fast Lane (Claude Code) · 🧗 Step by Step · Links
| Building block | What it gives you |
|---|---|
| Databricks Apps | Serverless hosting for web apps (Streamlit, Dash, Gradio, Flask, Shiny, Node.js/React) inside your workspace. Auth, SSO and governance included, zero infra to manage |
| Lakebase | Fully managed Postgres on Databricks, the OLTP backend for your app. Autoscaling, scale-to-zero, instant Git-style branching, and native Unity Catalog sync to/from Delta |
If you're running Claude Code, Cursor, Codex or a similar coding agent, skip the manual steps entirely: Databricks DevHub ships agent-ready templates for exactly this stack:
How it works:
- Open a template. For the hackathon, App with Lakebase is your one-shot: it provisions the Lakebase Postgres project and scaffolds a full app with schema setup and CRUD API routes
- Click Copy prompt and paste it into Claude Code
- The agent builds everything end-to-end, asking you questions along the way (app name, workspace profile, …)
- You're deployed. 🏁
⚠️ One prerequisite still applies: your local machine needs an authenticated Databricks CLI (Track B, Step 1). Run that template first. It's the strict prerequisite for every other one. Pro tip: also run Onboard Your Coding Agent so Claude Code gets the Databricks agent skills, DevHub Docs MCP server and anAGENTS.mdfor your repo.
No coding agent? No problem. Do these in order: each step is a prerequisite for the next one.
- Install the Databricks CLI
v1.0.0+: Homebrew or curl installer on macOS/Linux,wingeton Windows (prefer WSL for the curl path) - Authenticate against the hackathon workspace:
databricks auth login --host https://<workspace-url>(have the URL from your invite email ready) - Verify the handshake:
databricks auth profiles # your profile must show Valid: YES databricks current-user me # smoke test, must return your identity
✅ Done when: the CLI is on PATH, your profile is valid, and current-user me returns who you are. Every later step depends on this.
- Pre-flight check that Lakebase is enabled for you:
databricks postgres list-projectsmust succeed (an empty list is fine, while anot enabled/permission error means ping your workspace admin or an ELCA architect) - Provision a Lakebase Postgres project, via CLI, or in the UI: app switcher → Lakebase Postgres → Autoscaling → New project
- You get a production branch with an active endpoint and a default database (scale-to-zero compute included)
- 📝 Collect and note the connection values: host, endpoint path, database path, database name. Step 3 needs them.
✅ Done when: a managed Postgres cluster is running in the workspace and you have the connection values written down.
-
Scaffold an app wired to your database from Step 2:
databricks apps init --name my-app --features lakebase \ --set lakebase.postgres.project=projects/<project-id> \ --set lakebase.postgres.branch=projects/<project-id>/branches/<branch-id> \ --set lakebase.postgres.database=projects/<project-id>/branches/<branch-id>/databases/<database-id>
All three
lakebase.postgres.*fields must be set together, orinitfails withmissing fields [postgres.project].⚠️ Use the exact resource paths, not the names shown in the UI. Get them fromdatabricks postgres list-databases projects/<project-id>/branches/<branch-id>and copy thenamefield verbatim. The database's resource id (e.g.databricks-postgres, hyphen) often differs from its actual Postgres name (databricks_postgres, underscore, what the UI and connection string show). Using the underscore form in the path fails withDatabase ... does not exist in postgres branch ... (404 NOT_FOUND). -
Deploy first (
databricks apps deploy) so the schema is created under the app's managed identity, not your personal one (this is the #1 gotcha!) -
Then iterate locally:
npm run dev -
The template gives you schema initialization and full CRUD API routes out of the box, so your data persistence layer is done
✅ Done when: the app has a live URL in the workspace and reads/writes to Lakebase.
# hack hack hack...
databricks apps deploy # ship it, early and oftenBuild your idea on top: add tables, hook up Genie or Model Serving, style the frontend, and redeploy every time something works.
💡 Branch your database like Git: create an isolated Lakebase branch per feature/experiment, then throw it away after. Great for demo resets.
Start here
- 📘 Databricks Apps: Get started
- 📘 Lakebase: Get a Postgres database
- 📘 Add Lakebase as an app resource
Templates & examples
- 🧩 DevHub template gallery: every template is a copy-ready prompt for Claude Code & friends
- 🧩 Set Up Your Local Dev Environment · Create a Lakebase Instance · App with Lakebase
- 🧩 Lakebase quickstart
- 🧩 github.com/databricks/app-templates: incl. full-stack Node.js + Lakebase CRUD examples
Reference
- 📗 Lakebase Postgres overview
- 📗 Databricks Apps on Azure
- 📗 Databricks Apps on AWS
- 📗 Lakebase product page
- Deploy early, deploy often. Get the "hello world" URL in the first minutes. Demos die on last-minute deploys.
- Deploy before running locally when using Lakebase, so the schema belongs to the app's identity, not yours.
- Stuck ?? > minutes? Ask us. That's literally why ELCA is here. 🙋
ELCA · We make it work! · elca.ch
in partnership with
Databricks · The Data + AI Company · databricks.com
Happy hacking! 🧱

