Self-hosting
Install openb2b on any Node.js server.
Every customer and order stays in a Postgres database on the same server.
Install
Back up
Check
Install
From a fresh serverto a running store.
What it needs
The build needs Node.js 22, Postgres 17 and about 3 GB of memory.
Build and start
One build runs on any Node.js host.
Finish in the browser
The first visit opens a setup page that creates the database tables.
Running
Maintenance built in,from reminders to updates.
Reminders on time
openb2b sends payment reminders and quote follow-ups once a day, at a set hour.
One-file backups
Restore the database and every upload from a single file.
Updates without downtime
openb2b builds the new version first, then switches over.
A health page
Settings → System shows the version and the database status.
A limit for busy days
Each process serves up to 24 requests at once and asks the rest to retry.
FAQ
Do I need to set up email before I start?
No. Without Resend, the store writes each email to its log, and the sign-in link can be copied from there. Set up Resend before customers sign in.
Data during an update
The update backs up the database and the uploads before it changes anything, and the migrations only add to the schema.
Can I keep uploads somewhere other than the store's folder?
Yes. The uploads folder can be any path, such as a mounted volume. Keep it out of the web server's reach, because the store checks the permissions for every customer file it serves.
Install openb2b.
The README walks through every way to run it.