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
- 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.
- Open your project, then go to Security → API Tokens.
- Select Generate API Token, give it a name (something like "InfraNest" works well), and choose Read & Write.
- 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.
Was this article helpful?
Thanks for your feedback!
Thanks, this goes straight to the docs team.