InfraNestInfraNest
Hetzner

Create a Hetzner API token

To connect Hetzner, InfraNest needs an API token from your Hetzner project. The same token covers your cloud resources and your DNS zones.

Learn how to create the API token InfraNest needs to connect to your Hetzner project — useful for anyone setting up Hetzner cloud resources or DNS in InfraNest.

Overview

  • InfraNest needs an API token from your Hetzner project to connect to your account.
  • The same token covers both your cloud resources and your DNS zones, so you only need to create it once.
  • You'll create this token in the Hetzner Cloud Console, then paste it into InfraNest.

Create the token

  1. Sign in to the Hetzner Cloud Console.

  2. Open your project, then go to Security → API Tokens.

    Create a Hetzner API token (1)
  3. Select Generate API Token, give it a name (like "InfraNest"), and choose Read & Write.

    Create a Hetzner API token (2)
  4. Copy the token now — Hetzner shows it only once.

WarningChoose Read & Write, not Read. A read-only token can see your resources but can't manage them.

Next step

Go back to InfraNest and follow Connect Hetzner to paste the token.

Related articles

Try this in your own account

Connect one provider and work through these steps against your own infrastructure.

Free plan · No credit card required · Set up in minutes