| name | lindy-multi-env-setup |
| description | Configure Lindy AI across development, staging, and production environments.
Use when setting up isolated workspaces, per-environment secrets,
or environment-specific agent configurations.
Trigger with phrases like "lindy environments", "lindy staging",
"lindy dev prod", "lindy environment setup", "lindy workspace isolation".
|
| allowed-tools | Read, Write, Edit, Bash(aws:*), Bash(gcloud:*), Bash(vault:*) |
| version | 1.15.0 |
| license | MIT |
| author | Jeremy Longshore <jeremy@intentsolutions.io> |
| tags | ["saas","lindy","deployment"] |
| compatibility | Designed for Claude Code, also compatible with Codex and OpenClaw |
Lindy Multi-Environment Setup
Overview
Isolate Lindy AI agents across development, staging, and production using separate
workspaces, dedicated API keys, and environment-specific webhook configurations.
Lindy agents live in workspaces — each environment should use its own workspace
to prevent cross-environment data leakage.
Prerequisites
- Multiple Lindy workspaces (one per environment) or Enterprise plan
- Secret management solution (env vars, Vault, AWS/GCP secrets)
- CI/CD pipeline with environment-aware deployment
- Application with environment detection logic
Environment Strategy
| Environment | Workspace | API Key Source | Agent Config |
|---|
| Development | dev-workspace | .env.local | Debug prompts, test integrations |
| Staging | staging-workspace | CI/CD secrets | Production-like, test data |
| Production | prod-workspace | Secret manager | Hardened prompts, live integrations |
Instructions
Step 1: Create Separate Workspaces
- Log in at
- Create workspace for each environment:
[company]-dev, [company]-staging, [company]-prod
- Generate separate API keys in each workspace
- Store each key in the appropriate secret store
Step 2: Environment Configuration
interface LindyConfig {
apiKey: string;
webhookUrl: string;
webhookSecret: string;
workspace: string;
model: string;
}
function getLindyConfig(): {
env = process.. || ;
: <, > = {
: {
: process..!,
: process..!,
: process..!,
: ,
: ,
},
: {
: process..!,
: process..!,
: process..!,
: ,
: ,
},
: {
: process..!,
: process..!,
: process..!,
: ,
: ,
},
};
config = configs[env];
(!config) ();
config;
}
lindyConfig = ();