Skip to content

3. Deploy & Cloud Environments ​

From Preview to Cloud (Dev/Staging/Prod).

Environment overview ​

Madrix supports three environments per project:

EnvironmentPurposeAccess
DevDevelopment and testingDevelopers
StagingPre-production validationQA / internal
ProdLive applicationEnd users

How deployment works ​

  1. You develop and iterate in the Preview (local runtime, no deploy needed)
  2. When ready, Publish deploys to the selected Cloud environment
  3. Each environment is isolated (own database, own URL)

First deploy (step by step) ​

Prerequisites ​

  • Your project is working correctly in the Preview
  • Cloud environments are configured in your organization settings
  • You have "Deploy" permission

Steps ​

  1. Open your project in the Project Editor
  2. Click Publish in the top bar
  3. Select target environment: Dev (recommended for first deploy)
  4. Review what will be deployed (schema, code, settings)
  5. Confirm and wait for deployment to complete
  6. Access the environment URL provided after deployment
  7. Test the app with real credentials

Environment promotion ​

Move your app from Dev → Staging → Prod when each stage is validated:

Dev (test) → Staging (validate) → Prod (release)

Each promotion is a Publish action targeting the next environment.

Environment variables and secrets ​

Sensitive configuration (API keys, webhook URLs) is set per environment in Runtime Settings. See Runtime Settings for details.

Rollback ​

If a deployment causes issues:

  1. Go to Project Settings → Deployment History
  2. Select the previous stable version
  3. Click Rollback

Troubleshooting ​


Next: 4. Prompt Templates →

© Madrix Software. All rights reserved.