Skip to main content
All templates

Create a Lakebase Instance

Provision a managed Lakebase Postgres project on Databricks and collect the connection values needed by downstream templates.

Lakebase Postgres

Use with your coding agent

  1. 1. Copy the prompt below
  2. 2. Paste into Cursor, Claude Code, Codex, or any coding agent
  3. 3. Your agent builds it — asking questions along the way so the result is exactly what you want
New to templates?Learn more here
Create a Lakebase Instance preview

When done, you will have:

  • A managed Postgres cluster running in your Databricks workspace
  • A production branch with an active endpoint and default database
  • Connection values (host, endpoint path, database path, database name) ready for use in other Lakebase recipes

Prerequisites

Verify these Databricks workspace features are enabled before starting. If any check fails, ask your workspace admin to enable the feature.

  • Lakebase Postgres available in the workspace. Run databricks postgres list-projects --profile <PROFILE> and confirm the command succeeds (an empty list is fine — you are about to create the first project). A not enabled or permission error means Lakebase is not available to this identity.