Markdown

Publishing

Create a server at Hetzner

You generate an API token in the Hetzner Cloud Console, store it in the platform, and let the platform create a server in your Hetzner account with it.

On this page

The platform creates the server through the Hetzner Cloud API in your own account. For that it needs an API token with write permissions for the Hetzner project, which you store once as a credential.

1. Generate an API token in the Hetzner Cloud Console

  1. Sign in to the Hetzner Cloud Console and open the cloud project the server should live in, or create a new one.
  2. Open Security → API Tokens and click Generate API Token.
  3. Choose the Read & Write permission and give the token a name, for example “Application Platform”.
  4. Copy the token while it is displayed; Hetzner shows it only this once.

Hetzner’s official guide is available at Generating an API token.

2. Store the token in the platform

  1. In the platform, open ServersManage credentials.
  2. Create a new credential of type Hetzner Cloud API and paste the token.
  3. Save. If the token is rejected, check that you copied it completely and that it has the Read & Write permission.

3. Create the server

  1. Open ServersAdd server and choose Hetzner server.
  2. Select the API credential you just created.
  3. Set a name and a server ID, a short identifier without spaces or special characters.
  4. Choose the size from the Hetzner types cpx22, cpx32, cpx42, and ccx33.
  5. Confirm. The platform creates the server in your Hetzner account and sets up the firewall, backups, SSH keys, and deploy access.

The server is then available when creating or editing projects; Hetzner bills the server costs directly to you. To make the project reachable under a name of your own, continue with the domain.