Hetzner Cloud
Hetzner Cloud is a European cloud infrastructure provider offering virtual private servers (VPS), dedicated servers, and cloud resources with competitive pricing and high-performance computing capabilities. This integration provides comprehensive visibility and management capabilities across your Hetzner Cloud infrastructure, enabling you to query, monitor, and analyze all aspects of your cloud environment.
| Category | Cloud |
| Direction | Query source |
| Sign-in | API Token |
| Query languages | SQLite |
| Tables | 11 |
| Query templates | 32 |
| Website | hetzner.com |
Before you start
Huntbase signs in to Hetzner Cloud with API Token. Create the credential in Hetzner Cloud first, then keep it to hand for the Connect step.
- In the Hetzner Console, open the project you want to query.
- Select Security in the left menu, then API tokens in the top menu.
- Click Generate API token, enter a description, and choose the Read permission.
- Copy the token before you close the window.
Permissions:
- Read (GET requests only)
- A token covers a single project. Create one connection for each project you want to query.
- You can't view the token again after closing the window. If you lose it, generate a new one.
For the vendor's own instructions, see Hetzner Cloud API token documentation.
Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.
Connect Hetzner Cloud
- Go to Connections and click New connection, or click New connection on the Hetzner Cloud product page.
- On Product, pick Hetzner Cloud and choose the Owner.
- On Details, give the connection a Name and, optionally, a Description.
- On Connect, fill in the settings and credentials described below.
- On Verify, review the summary and click Create & check.
For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.
Credentials
The only Method is API Token. Enter a Credential label (for example Production), then fill in:
| Field | Required | Notes |
|---|---|---|
| API Token | Yes | Secret — not shown again after you save it. |
Query it
Once connected, Hetzner Cloud can serve these languages in a query tab, and Scout can use it when you ask in Auto:
| Language | Use it for |
|---|---|
| SQLite | SQL over the 11 tables listed below, alongside every other connected source. |
Example: SQLite
List all SSH keys — Explore all SSH keys within your system to gain a comprehensive overview of your security mechanisms.
select
*
from
hcloud_ssh_key;
Hetzner Cloud ships with 32 query templates. Find them in Library › Queries — see Query templates.
Tables
Hetzner Cloud adds 11 tables. Browse their columns from Schema in the query bar's ⋯ menu.
All 11 tables
| Table | Contains |
|---|---|
hcloud_action | Actions performed in the Hetzner Cloud account. |
hcloud_datacenter | Data centers available to the Hetzner Cloud account. |
hcloud_firewall | Firewall resources in Hetzner Cloud. |
hcloud_image | Images in the Hetzner Cloud account. |
hcloud_location | Locations available to the Hetzner Cloud account. |
hcloud_network | Data centers available to the Hetzner Cloud account. |
hcloud_placement_group | Placement groups available in the Hetzner Cloud account. |
hcloud_server | Servers in the Hetzner Cloud account. |
hcloud_server_type | Server types in Hetzner Cloud. |
hcloud_ssh_key | SSH keys in the Hetzner Cloud account. |
hcloud_volume | Volumes in the Hetzner Cloud account. |
Next steps
- Connections — health, credentials and settings after you connect
- Query languages — syntax, parameters and time ranges
- Chatting with Scout — ask questions without writing a query
- All integrations — the rest of the catalog