Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.nearbase.dev/llms.txt

Use this file to discover all available pages before exploring further.

Get Started

Nearbase gives you a fully managed, auto-scaling PostgreSQL database in Asia — no ops, no cloud expertise required.
1

Sign Up

Go to console.nearbase.dev and create your account.
2

Add Payment

Add your payment method and top up your balance.
3

Create a Database

Pick a region, choose your instance size, and click create. Your PostgreSQL database will be ready in 2–5 minutes.
4

Connect

Grab your connection string from the console and connect with any PostgreSQL client or driver.

Open Console

Create your first database now at console.nearbase.dev

Available Regions

Nearbase is available in 10 regions. See Regions for the full list.

Connect to Your Database

Once your database is running, connect using any PostgreSQL client:
psql "host=your-instance.nearbase.dev port=5432 dbname=postgres user=admin password=YourPassword sslmode=require"
Or in your application:
import pg from "pg";

const pool = new pg.Pool({
  connectionString:
    "postgresql://admin:YourPassword@your-instance.nearbase.dev:5432/postgres?sslmode=require",
});

const result = await pool.query("SELECT NOW()");
console.log(result.rows[0]);
Need help? Reach out at team@m.nearbase.dev.