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, your DNS zones and your certificates.

Updated November 2, 20261 min read

This article shows you how to create an API token in Hetzner so you can connect your Hetzner project to InfraNest.

#Overview

  • InfraNest uses one Hetzner API token to manage your cloud resources, DNS zones and certificates together.
  • A token only works for one Hetzner project, so if you want to connect more than one project, you'll need to create a separate token for each.

#Create the token

  1. Sign in to the Hetzner Console (console.hetzner.com). On InfraNest's Hetzner connect form, the Open the token page link will take you straight to your projects.
  2. Open your project, then go to Security → API Tokens.
Create a Hetzner API token (1)
  1. Select Generate API Token, give it a name (something like "InfraNest" works well), and choose Read & Write.
Create a Hetzner API token (2)
  1. Copy the token right away — Hetzner only shows it to you once.

WarningChoose Read & Write, not Read. A read-only token lets InfraNest see your resources but not manage them.

#Next step

Go back to InfraNest and follow the steps in Connect Hetzner to paste in your 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