Services

How to Use the Database GUI (DbGate) with ASD

Published:
Kelvin Wuite
By Kelvin Wuite • 5 min read
Share

ASD includes a built-in database management UI powered by DbGate. It gives you a visual database browser, query builder, and data import/export — all in your browser. Connect to PostgreSQL, MySQL, SQLite, MongoDB, and more.

Supported databases

  • PostgreSQL
  • MySQL / MariaDB
  • SQLite
  • MongoDB
  • SQL Server
  • Redis

Prerequisites

  • ASD CLI installed (asd init to set up your workspace)
  • The DbGate binary (auto-downloaded during asd init)
  • A running database to connect to

Step 1: Start DbGate

asd database start

To see the status and access URLs:

asd database

Step 2: Access it

MethodURL Format
Localhttp://localhost:<port>/
Caddyhttp://asd.localhost/asde/dbgate/
TunnelVia hub tunnel path

Step 3: Connect to your database

Database connections are configured within DbGate's web UI. When you first open it, click "New Connection" and enter your database details.

Example: Connecting to local Supabase PostgreSQL

Host: 127.0.0.1
Port: 54322
Database: postgres
Username: postgres
Password: postgres

If you're using the Supabase plugin, these credentials are available in your .env file after running asd plugin:supabase:bootstrap.

What you can do

  • Browse schemas — explore tables, views, and stored procedures
  • Run queries — SQL editor with syntax highlighting and autocomplete
  • Edit data — inline editing of table rows
  • Import/export — CSV, JSON, Excel, SQL dump
  • Compare databases — diff schemas between environments
  • Save connections — reconnect with one click

Configuration

VariableDefaultDescription
ASD_DBGATE_PORT(auto)Port number

DbGate needs minimal configuration from ASD's side — most setup happens in the DbGate UI itself.

Security notes

  • DbGate stores database credentials in its own config — be aware if sharing access
  • Use basic auth in asd.yaml if exposing via tunnel
  • Stop when not actively using: asd database stop

Stopping DbGate

asd database stop

What's next

Kelvin Wuite
Written by

Kelvin Wuite

Kelvin Wuite is the founder of Accelerated Software Development B.V. With over eighteen years of development experience, he has witnessed the same patterns repeat across every software team: endless documentation, manual preparation, environment mismatches, and fragmented collaboration. His drive is to remove these barriers, enabling engineers to work together in unified environments with shorter feedback loops and hands-on collaboration. Since 2015 he has been refining these ideas, leading to ASD — a platform designed to create a faster, more integrated way for development teams to collaborate in an age where AI is thriving.

Related Articles