← Settings

Database Connection

Connect a Neon or NileDB Postgres database to power your wb1 platform

...
Checking database connection...

Database Connection

Checking...
1
2
3
4
Get Database Connect Create Tables Done

Get a Free Neon Database

Neon provides free PostgreSQL databases in the cloud. No credit card needed, and the free tier is generous enough for wb1.

1
Sign up at Neon

Click the button below to open Neon's signup page. You can sign up with GitHub, Google, or email.

Open neon.tech ↗
2
Create a new project

After signing in, click "New Project". Give it a name like worldbridger-one.

Tip Choose a region close to your users. US East or EU Central work well.
3
Copy your connection string

After creating the project, Neon shows your connection string. It looks like:

postgresql://username:password@ep-cool-name-123456.us-east-2.aws.neon.tech/neondb?sslmode=require

Copy the entire string including the password. You'll paste it in the next step.

Where to find it later Dashboard > Your Project > Connection Details > Connection string dropdown

Connect Your Database

Paste the connection string from your Neon dashboard below. We'll test the connection before saving.

Starts with postgresql:// or postgres://

Create Database Tables

We'll create the tables wb1 needs. All statements use IF NOT EXISTS so it's safe to run multiple times.

✓

Database Connected!

Your Neon database is connected and all wb1 tables are ready.

Database -
Tables -
Latency -

Save for Deployment

To persist this connection, add the following to your .env file or Vercel environment variables:

DATABASE_URL="your-connection-string"
NILE_DATABASE_URL="your-connection-string"
Vercel Deployment Go to Vercel Dashboard > Your Project > Settings > Environment Variables, and add DATABASE_URL with your connection string.