When to use it
Configure service environments when:- Your workspace has multiple deployment targets (sandbox, staging, production) with different base URLs.
- A service has environment-specific configuration values that every journey calling that service needs.
- You want to let engineers switch a journey between environments at run time without editing the journey definition.
Key concepts
Environments vs. cases. This distinction matters: an Environment describes where a journey runs (the system target — services, URLs, infrastructure config). A Case describes what data the journey uses (test inputs, value presets, saved scenarios). They are separate and can be combined: you can run Case “Happy path” against the “Staging” environment without any conflict. Per-service configuration. Each environment entry is scoped to a service. A service entry can hold:- Base URL — the root URL the service’s request templates resolve against in that environment.
- Service-level config values — any additional environment-specific values the service needs (API versions, feature flags, region settings, etc.).
How it works
Open Admin → Service environments
You’ll see a list of services registered in the workspace, each with one or more environment entries.
Add or edit an environment entry
Select a service, choose the environment name (e.g.,
staging, production), and set its base URL and any additional config values.Examples
Three environments for a payments service.| Environment | Base URL |
|---|---|
sandbox | https://sandbox.payments.example.com |
staging | https://staging.payments.example.com |
production | https://payments.example.com |
timeout_ms or api_version that differs between environments.
Running locally against sandbox.

