‹ All agents

Claude Code + Elestio

by Anthropic

Claude Code is Anthropic's agentic coding tool that operates directly in your terminal. When paired with Elestio, it can deploy applications, manage infrastructure, configure backups, and handle your entire DevOps workflow.

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 Claude Code

Install the Claude Code CLI globally

npm install -g @anthropic-ai/claude-code
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 Claude 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 Claude Code 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 Claude to deploy PostgreSQL
  • Claude searches with elestio templates search
  • Claude selects provider and region
  • Claude deploys with elestio deploy

2 Deploy from GitHub

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

3 Configure backups

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

4 Set up firewall

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

5 Check billing

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

6 Add SSL / custom domain

  • Ask Claude to add a domain
  • Claude adds with elestio ssl add
  • Claude provides DNS instructions
  • Claude 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 Claude 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 Claude Code access to Elestio?

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

What can I deploy with Claude Code + 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 Claude Code manage existing Elestio services?

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

How does billing work when deploying via Claude Code?

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. Claude can show you pricing with elestio sizes before deploying.

Start deploying with Claude Code

Install the Elestio CLI and let Claude handle your infrastructure.

Get Started Free GitHub