‹ All agents

Cursor + Elestio

AI Code Editor

Cursor is the AI-first code editor built for pair programming with AI. When paired with Elestio, it can deploy applications, manage infrastructure, configure backups, and handle your entire DevOps workflow directly from your IDE.

Get Started Free Install CLI

Quick start

1

Install the Elestio CLI

Install the Elestio CLI globally via npm

npm install -g elestio
2

Install Cursor

Download Cursor from cursor.com

Open Cursor and enable the terminal agent
3

Configure your API credentials

Set your Elestio email and API token

elestio login --email "[email protected]" --token "your_api_token"

Get your token at dash.elest.io/account/security

4

Deploy your first service

Ask Cursor to deploy — it will use the Elestio CLI automatically

elestio deploy PostgreSQL --project 112 --name my-db --provider hetzner

Example prompts

"Deploy N8N on Netcup in Germany"
"Add a custom SSL domain to my service"
"Scale my service to 8 vCPUs and 16GB memory"
"Create a firewall rule to whitelist my IP"
"Create a backup before migration"
"Deploy my GitHub repo with CI/CD"
"Add your SSH-key to my server"
"Reboot my server"
"Add 50GB of storage to my service"
"Get the admin credentials for my database"

Elestio CLI

The Elestio CLI gives Cursor full access to the Elestio platform — deploy services, manage infrastructure, configure backups, and more. 400+ templates, 9 cloud providers, 100+ regions. View on GitHub →

Install Elestio CLI

npm install -g elestio

Authenticate

elestio login --email "[email protected]" --token "your_api_token"

Common workflows

1 Deploy a database

  • Ask Cursor to deploy PostgreSQL
  • Cursor searches with elestio templates search
  • Cursor selects provider and region
  • Cursor deploys with elestio deploy

2 Deploy from GitHub

  • Ask Cursor to deploy your repo
  • Cursor deploys CI/CD with elestio deploy cicd
  • Cursor creates pipeline with elestio cicd create
  • Cursor configures auto-deploy

3 Configure backups

  • Ask Cursor to set up backups
  • Cursor enables with elestio backups auto-enable
  • Cursor creates snapshot with elestio snapshots take
  • Cursor confirms backup schedule

4 Set up firewall

  • Ask Cursor to configure firewall
  • Cursor lists rules with elestio firewall get
  • Cursor adds rules with elestio firewall enable
  • Cursor verifies configuration

5 Check billing

  • Ask Cursor for billing overview
  • Cursor runs elestio billing
  • Cursor shows costs with elestio billing project
  • Cursor provides cost breakdown

6 Add SSL / custom domain

  • Ask Cursor to add a domain
  • Cursor adds with elestio ssl add
  • Cursor provides DNS instructions
  • Cursor verifies SSL is working

Tips for success

Install the Elestio CLI with npm install -g elestio for full platform access
Get your API token at dash.elest.io/account/security
Just ask Cursor in natural language, e.g. "Deploy a new Keycloak service on Hetzner"
Use project IDs to organize your services across environments
Set up remote backups before major changes with elestio backups remote-take

Frequently asked questions

How do I give Cursor access to Elestio?

Install the Elestio CLI with npm install -g elestio and authenticate with elestio login. This gives Cursor access to Elestio's full API for deployments, backups, and infrastructure management.

What can I deploy with Cursor + Elestio?

Anything from Elestio's catalog of 400+ open-source templates — databases (PostgreSQL, MySQL, MongoDB), CMS (WordPress, Ghost), development tools (GitLab, Gitea), monitoring (Grafana, Prometheus), and more. You can also deploy custom apps from GitHub with CI/CD pipelines.

Can Cursor manage existing Elestio services?

Yes! Cursor can list, manage, resize, and delete your existing services. It can also configure backups, firewall rules, SSL certificates, and check billing — all from your IDE.

How does billing work when deploying via Cursor?

Billing works exactly the same as deploying from the Elestio dashboard. Services are billed to your Elestio account based on the provider, region, and server size you choose. Cursor can show you pricing with elestio sizes before deploying.

Start deploying with Cursor

Install the Elestio CLI and let Cursor handle your infrastructure.

Get Started Free GitHub