Postgres for
Multitenant SaaS

Build faster and safer with automatic tenant isolation, on infrastructure in any cloud.

// Create a client
const client = new Fortress("apiKey", "organizationId");
// Create a tenant
client.createTenant('company1', 'Company1 (PII Data)')
// Connect to your tenant's data
const conn = client.connectTenant('company1')
conn.query("SELECT * FROM emails", (result) => {
result.forEach((row) => {
console.log(`User: ${row["name"]}`);
});
});

How it works

Globally distributed Postgres

We're building a distributed network of gateways and Postgres clusters that provide a secure connection to your data across many environments. Requests are routed to the nearest gateway, and then forwarded to the appropriate database cluster given the tenant ID.

Shared-nothing architecture

Each tenant has their own database, schema, and connection pool.

MIT License

Self-host Fortress for free, forever. Fortress is fully open-source, and uses the permissive MIT license.

Live on GitHub soon.

SOC 2 Compliant (Coming soon)

Fortress Cloud is designed to meet the strictest security and compliance requirements.
© 2024 Fetchflow Inc.