Skip to main content

Connect to your database

info

Lakebase Autoscaling is available in the following regions: us-east-1, us-east-2, eu-central-1, eu-west-1, eu-west-2, ap-south-1, ap-southeast-1, ap-southeast-2.

Lakebase Autoscaling is the latest version of Lakebase with autoscaling compute, scale-to-zero, branching, and instant restore. For feature comparison with Lakebase Provisioned, see choosing between versions.

Learn how to connect to your database using various clients and authentication methods. For managing Lakebase infrastructure (creating projects, branches, computes), see Project permissions.

Getting started

    • Quickstart
    • Quickstart guide for connecting with OAuth or Postgres passwords.
    • Authentication
    • OAuth tokens, Postgres passwords, token rotation, and connection timeouts.

Roles and permissions

Set up database access by creating Postgres roles and granting permissions:

note

Postgres roles control database access (who can query data). For project permissions (who can manage infrastructure), see Manage project permissions.

Postgres clients

Connect to your database using standard PostgreSQL client tools:

    • psql
    • PostgreSQL's built-in command-line client for interactive database access.
    • pgAdmin
    • Graphical administration tool for managing databases and running queries.
    • DBeaver
    • Universal database tool supporting multiple database types.

For more information about using Postgres clients, see Postgres clients.

Built-in tools

Use Lakebase's built-in tools to query and manage your database:

    • SQL Editor
    • Run queries and manage database objects using the web-based SQL editor.
    • Tables editor
    • View, edit, and manage data and schemas through a visual interface.

Private connectivity

Next steps