Codex + Elestio
Codex is OpenAI's cloud-based coding agent that runs in the background. When paired with Elestio, it can deploy applications, manage infrastructure, configure backups, and handle your entire DevOps workflow.
Up and Running in Minutes
Install the CLI, authenticate, and deploy your first service with Codex.
Install the Elestio CLI
Global npm package, zero dependencies.
Add the Elestio skill
Gives Cursor access to 400+ templates.
Access Codex
Open Codex at chatgpt.com/codex or via the API.
Configure credentials
API token from dash.elest.io/account/security
Deploy your first service
Ask Cursor to deploy — it uses the Elestio CLI automatically.
Example Prompts
Elestio CLI
The Elestio CLI gives Cursor full access to the Elestio platform — deploy services, manage infrastructure, configure backups, and more. 400+ templates, any cloud provider, 100+ regions.
View on GitHub →Common Workflows
Deploy a database
- Ask Codex to deploy PostgreSQL
- Searches with
elestio templates search - Selects provider and region
- Deploys with
elestio deploy
Deploy from GitHub
- Ask Codex to deploy your repo
- Deploys CI/CD with
elestio deploy cicd - Creates pipeline with
elestio cicd create - Configures auto-deploy
Configure backups
- Ask Codex to set up backups
- Enables with
elestio backups auto-enable - Creates snapshot with
elestio snapshots take - Confirms backup schedule
Set up firewall
- Ask Codex to configure firewall
- Lists rules with
elestio firewall get - Adds rules with
elestio firewall enable - Verifies configuration
Check billing
- Ask Codex for billing overview
- Runs
elestio billing - Shows costs with
elestio billing project - Provides cost breakdown
Add SSL / custom domain
- Ask Codex to add a domain
- Adds with
elestio ssl add - Provides DNS instructions
- Verifies SSL is working
Frequently Asked Questions
How do I give Codex access to Elestio?
npm install -g elestio and authenticate with elestio login. This gives Codex access to Elestio's full API for deployments, backups, and infrastructure management.What can I deploy with Codex + Elestio?
Can Codex manage existing Elestio services?
How does billing work when deploying via Codex?
elestio sizes before deploying.Start deploying with Codex
Install the Elestio CLI and let Codex handle your infrastructure.