Repository navigation
Getting Started
brwinnov edited this page Mar 14, 2026
·
3 revisions
Follow this guide to set up the Hetzner Cloud Toolkit and create your first server.
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for Hetzner Cloud Toolkit
- Click Install
- Download from GitHub Releases
- In VS Code, go to Extensions → Install from VSIX
- Select the
.vsixfile
You need a Hetzner Cloud API token to use this extension.
- Log in to console.hetzner.cloud
- Select your project → Security → API Tokens
- Click Generate API Token
- Give it a Name and ensure Read & Write permissions are enabled
- Click Generate
⚠️ Copy the token immediately — Hetzner only shows it once!
The extension requires Read & Write access to:
- Servers
- Networks
- SSH Keys
- Firewalls
- Volumes
- Open the Hetzner Cloud Toolkit sidebar (cloud icon in the Activity Bar)
- Find the SETUP panel at the top
- Click Add Hetzner Project API Key
- Enter:
-
Project Name: A friendly name (e.g.,
Production,Dev,Staging) - API Token: Paste your token from step 2
-
Project Name: A friendly name (e.g.,
- Click Add
The extension will verify your token and load your resources automatically.
For password-less server access, set up SSH keys:
- In the SETUP panel, click Generate SSH Key (or use an existing key)
- The SSH Key Generation Guide will walk you through:
- Generating a new Ed25519 key
- Adding it to your Hetzner Cloud project
- Saving it locally
Note: You only need to do this once per project.
-
Open the SERVERS panel in the sidebar
-
Click the + button, or run
Hetzner Cloud Toolkit: Create Serverfrom the Command Palette -
Follow the 7-step wizard:
- Step 1: Basics — Name your server, choose location
- Step 2: Server Type — Choose CPU, RAM, storage (shows pricing)
- Step 3: OS Image — Pick your OS (Ubuntu, Debian, CentOS, etc.)
- Step 4: SSH Keys — Select keys for root access
- Step 5: Network — Optionally add to a private network
- Step 6: Cloud-Init — Add custom startup scripts
- Step 7: Review — Confirm all settings and create
-
Your new server will appear in the SERVERS panel within seconds
-
Right-click to Power On, Power Off, Reboot, or Delete
- Manage Networks — Create private networks for your servers
- Explore the Full Feature Guide — Discover all capabilities
- Reload VS Code:
Ctrl+Shift+P→ Developer: Reload Window - Check VS Code version: Extension requires v1.85.0 or later
- Ensure token has Read & Write permissions
- Check that you're using the correct token (not a Deploy Token)
- Verify you're in the correct project
- Check your internet connection
- Verify API token permissions
- Try reloading:
Ctrl+Shift+P→ Developer: Reload Window
- Check Troubleshooting page
- Open an issue: https://github.com/brwinnov/vscode-hetzner-cloud/issues
Ready to explore more? Check out the Features Guide 👉