Quick Start
This guide gets you from zero to managing secrets in under 5 minutes.
1. Sign Up
Section titled “1. Sign Up”Create your free account at app.getsoup.dev
2. Install the CLI
Section titled “2. Install the CLI”# macOSbrew install soup-dev/tap/soup
# Linux/WSLcurl -fsSL https://getsoup.dev/install.sh | sh3. Login
Section titled “3. Login”soup login4. Create Your First Project
Section titled “4. Create Your First Project”# Create a projectsoup project create my-app
# Create environments (like base, dev, stage, prod)soup env create my-app basesoup env create my-app dev --parent basesoup env create my-app stage --parent basesoup env create my-app prod --parent baseAdd Secrets
Section titled “Add Secrets”# Set secrets in base (shared across all environments)soup set my-app base DATABASE_NAME myappsoup set my-app base LOG_LEVEL infosoup set my-app base API_TIMEOUT 30
# Override for prodsoup set my-app prod LOG_LEVEL warnsoup set my-app prod API_TIMEOUT 60Use Variable References
Section titled “Use Variable References”# Build a connection string from componentssoup set my-app base DB_HOST localhostsoup set my-app base DB_PORT 5432soup set my-app base DATABASE_URL 'postgres://${DB_HOST}:${DB_PORT}/${DATABASE_NAME}'
# Prod uses different hostsoup set my-app prod DB_HOST prod-db.internal
# Check the resolved valuesoup get my-app prod DATABASE_URL# Output: postgres://prod-db.internal:5432/myappExport to Your App
Section titled “Export to Your App”# Export all secrets as environment variableseval $(soup export my-app prod)
# Or run a command with secrets injectedsoup run my-app prod -- npm start
# Or write to a .env filesoup export my-app prod --format dotenv > .envNext Steps
Section titled “Next Steps”- Projects & Environments - Organize your secrets
- Environment Inheritance - Master inheritance patterns
- CI/CD Integration - Use Soup in your pipelines