‹ All agents AI Code Editor

Cursor + Elestio

Cursor is the AI-first code editor built for pair programming with AI. Paired with Elestio, it deploys applications, manages infrastructure, configures backups, and handles your entire DevOps workflow from your IDE.

Up and Running in Minutes

Install the CLI, authenticate, and deploy your first service from Cursor.

1

Install the Elestio CLI

Global npm package, zero dependencies.

2

Add the Elestio skill

Gives Cursor access to 400+ templates.

3

Install Cursor

Download from cursor.com and enable the terminal agent.

4

Configure credentials

API token from dash.elest.io/account/security

5

Deploy your first service

Ask Cursor to deploy — it uses the Elestio CLI automatically.

terminal
# Step 1: Install CLI
$ npm install -g elestio
 
# Step 2: Add skill
$ npx skills add elestio/elestio-skill
  Elestio skill added
 
# Step 3: Authenticate
$ elestio login --email "you@example.com" --token "your_api_token"
  Authenticated successfully
 
# Step 4: Deploy!
$ elestio deploy PostgreSQL --project 112 --name my-db --provider hetzner
  PostgreSQL deployed in 2m 18s

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, any cloud provider, 100+ regions.

View on GitHub →
terminal
# Install Elestio CLI
$ npm install -g elestio
 
# Authenticate
$ elestio login --email "you@example.com" --token "your_api_token"
  Authenticated successfully
 
# Search templates
$ elestio templates search "postgresql"
 
# Deploy a service
$ elestio deploy PostgreSQL --project 112
  Service deployed successfully

Common Workflows

Deploy a database

  • Ask Cursor to deploy PostgreSQL
  • Searches with elestio templates search
  • Selects provider and region
  • Deploys with elestio deploy

Deploy from GitHub

  • Ask Cursor to deploy your repo
  • Deploys CI/CD with elestio deploy cicd
  • Creates pipeline with elestio cicd create
  • Configures auto-deploy

Configure backups

  • Ask Cursor to set up backups
  • Enables with elestio backups auto-enable
  • Creates snapshot with elestio snapshots take
  • Confirms backup schedule

Set up firewall

  • Ask Cursor to configure firewall
  • Lists rules with elestio firewall get
  • Adds rules with elestio firewall enable
  • Verifies configuration

Check billing

  • Ask Cursor for billing overview
  • Runs elestio billing
  • Shows costs with elestio billing project
  • Provides cost breakdown

Add SSL / custom domain

  • Ask Cursor to add a domain
  • Adds with elestio ssl add
  • Provides DNS instructions
  • Verifies SSL is working

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.