Appearance
Runtime Settings
Configure your app's runtime: authentication, security, API access and webhooks.
What are Runtime Settings
Runtime Settings control how the generated app (the runtime) behaves — authentication providers, security policies, API tokens, and webhook configurations.
These are separate from Project Settings, which control the Madrix Creator interface itself.
Accessing Runtime Settings
- Open your project
- Click Runtime Settings in the Project Editor top bar (or the shield icon)
Authentication
Configure how users log in to your generated app:
Email/Password
Built-in authentication. Enabled by default:
- Users register with email + password
- Password reset via email
- Session management via JWT
SSO (Single Sign-On)
Supported providers:
- Google Workspace
- Microsoft Azure AD / Entra ID
- Generic SAML 2.0
- Generic OIDC
To configure SSO:
- Go to Runtime Settings → Authentication → SSO
- Select the provider
- Enter the client ID, client secret, and callback URL
- Save and test login
See SSO & Login Troubleshooting if you encounter issues.
RBAC (Roles and Permissions)
Define who can access what in the generated app:
- Create roles (e.g.: Admin, Manager, Viewer)
- Assign permissions per role: view, create, edit, delete
- Permissions are scoped to entity type and individual records
Changes to RBAC take effect immediately (no redeploy needed).
API Tokens
Generate tokens for external systems to call your app's REST API:
- Go to Runtime Settings → API Tokens
- Click New Token
- Set a name, expiry, and permission scope
- Copy the token immediately (shown only once)
See Integrations & API for full API documentation.
Webhooks
Configure outbound webhooks to notify external systems of events in your app:
- Trigger: record created, updated, deleted, or status changed
- Target: any HTTPS endpoint
- Payload: JSON with event type and record data
- Retry: automatic retry on failure (3 attempts, exponential backoff)
Environment Variables
Store secrets and configuration per environment:
- Go to Runtime Settings → Environment Variables
- Add key-value pairs
- Values are encrypted at rest and never exposed in logs
Reference variables in scripts: os.environ.get('MY_SECRET')
Rate Limits
Configure per-endpoint rate limits to protect your app:
- Default: 100 requests/minute per user
- Can be adjusted per environment
- Returns
429 Too Many Requestswhen exceeded
Next: Integrations & API →