Skip to main content
Databricks Lakebase is a fully managed Postgres database integrated with the Databricks lakehouse, built for modern operational workloads. It provides a Postgres-compatible OLTP database that eliminates complex ETL pipelines and ensures transactional data is seamlessly integrated with analytics and AI-driven applications. Integrate Databricks Lakebase with Superblocks to build internal tools and workflows that query, analyze, and update your data using familiar PostgreSQL syntax.

Setting up Databricks Lakebase

Configure authentication

To access your Databricks Lakebase database, you’ll need to authenticate using a Databricks account. Superblocks provides several different ways to authenticate. See the Databricks documentation below for how to configure your preferred authentication method.

Add integration

  1. In the web app, navigate to the Integrations page
  2. Click Add integration
  3. Search for Databricks Lakebase and select it from the list of available integrations
  4. Name the integration
  5. Fill out the integration configuration as follows:
  1. Optionally, add more configurations to set credentials for different environments
  2. Click Test Connection to check that Superblocks can connect to the data source
  3. Click Create

Using Databricks Lakebase in APIs

Once your Databricks Lakebase integration is created, you can start using it by writing SQL in Superblocks APIs. Since Lakebase is fully Postgres-compatible, you can use standard PostgreSQL syntax for all your queries, including support for Postgres extensions like PostGIS and pgvector.

Troubleshooting

If you run into issues, first see our guide on Troubleshooting Database Integrations. There are also several common errors you may see when using Databricks Lakebase. The table below includes error messages, why they happen, and how to address them. If you are encountering an error that’s not listed, or the provided steps are insufficient to resolve the error, please contact us at support@superblocks.com