Skip to main content
Multi-Tenant Settings

Per-customer configuration

Different limits, features, and settings for each tenant

Manage customer-specific configurations centrally. Adjust rate limits, enable premium features, or customize behavior per tenant—all without code changes.

The Problem & Solution

Before & after Replane

See how teams transform their workflow

Without Replane

  • Hardcoded tenant logic

    Customer-specific settings scattered across code. Changes require deploys.

  • Database-driven complexity

    Tenant configs in database require cache invalidation and schema migrations.

  • No central visibility

    Can't easily see or compare settings across tenants. Debugging is painful.

  • Slow onboarding

    Setting up new enterprise customers requires engineering involvement.

With Replane

  • Config-driven tenancy

    Define base config with tenant-specific overrides. No code changes needed.

  • Instant updates

    Change tenant limits and see effects immediately. No cache invalidation.

  • Central dashboard

    See and compare all tenant configs in one place. Full visibility.

  • Self-service setup

    Customer success can configure new tenants without engineering.

Key Features

Built for SaaS

Enterprise-ready tenant management at any scale

Unlimited Tenants

No limit on customers or accounts

Instant Updates

Changes apply in under a second

Full Visibility

All configs in one dashboard

No Deploys

No code changes needed

How It Works

Three simple steps

Get up and running in minutes, not hours

1

Define base config

Set default values that apply to all tenants. These are your baseline limits and features.

2

Create tenant overrides

Override specific values per tenant. Premium customers get higher limits, beta testers get new features.

3

Resolve at runtime

SDK merges base config with tenant overrides. Your code just reads the final values.

Benefits

Why teams choose Replane

Built for developers who value speed, reliability, and control

Centralized management

Manage all tenant configurations from one dashboard. No scattered config files or databases.

Instant updates

Change a tenant's limits and see it take effect immediately. No deploy required.

Audit trail

Full history of who changed what for which tenant. Perfect for enterprise compliance.

Code Examples

Works with your stack

Official SDKs for all major languages and frameworks

1import { Replane } from '@replanejs/sdk'
2
3interface Configs {
4 'api-rate-limit': number
5 'storage-limit-gb': number
6 'feature-advanced-analytics': boolean
7 'feature-custom-branding': boolean
8}
9
10const replane = new Replane<Configs>()
11
12await replane.connect({
13 baseUrl: 'https://replane.example.com',
14 sdkKey: process.env.REPLANE_SDK_KEY
15})
16
17// Get tenant-specific config using context
18function getTenantLimits(tenantId: string) {
19 return {
20 rateLimit: replane.get('api-rate-limit', {
21 context: { tenantId }
22 }),
23 storageLimit: replane.get('storage-limit-gb', {
24 context: { tenantId }
25 }),
26 advancedAnalytics: replane.get('feature-advanced-analytics', {
27 context: { tenantId }
28 })
29 }
30}
31
32// Use in request handling
33app.use((req, res, next) => {
34 const tenantId = req.headers['x-tenant-id']
35 const limits = getTenantLimits(tenantId)
36
37 // Apply tenant-specific rate limit
38 if (rateLimiter.isLimited(tenantId, limits.rateLimit)) {
39 return res.status(429).json({
40 error: 'Rate limit exceeded',
41 limit: limits.rateLimit
42 })
43 }
44
45 req.tenantLimits = limits
46 next()
47})
FAQ

Questions about Multi-Tenant Settings

Common questions and answers

Use Replane's override rules with context. Pass the tenant ID in your evaluation context, and set up override rules that match specific tenants. The SDK automatically resolves the correct value.

All tenants share the same config schema (base config), but can have different values. If a tenant needs a completely different config structure, create a separate Replane project for them.

Export your current tenant configs, create matching configs in Replane with override rules for each tenant. Then update your code to read from Replane instead of your database or config files.

Yes! Customer success, sales, or account managers can adjust tenant configs directly in the dashboard. Role-based access control lets you define who can modify which configs.

Configs are cached locally in the SDK. Tenant resolution happens in your application, not on our servers. There is zero additional latency per tenant, regardless of how many tenants you have.

Get Started with Multi-Tenant Settings

Ready to ship faster?

Start using Replane in minutes. Free forever for self-hosted, or let us manage everything for you.

No credit card required. MIT licensed. Deploy anywhere.