> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect IONOS with API Token – StackOne Hub

> Link a IONOS account in the StackOne Hub using API Token. End-user guide to authorize the integration and start using IONOS actions.

> [!WARNING]
>
> Only contract administrators and owners can manage users. Generate the token while signed in as one of them, and replace it before its Time To Live ends.

## Generating an API token

An API token authenticates requests to the IONOS Cloud API as the user who generated it.

**1. Sign in to IONOS Cloud**

Sign in to your [IONOS Data Center Designer account](https://dcd.ionos.com).

<ul>
  <li>Enter your **Email Address** and click **Next**, then enter your **Password** and click **Sign In**.</li>
  <li>Sign in as a contract owner or administrator.</li>
</ul>

**2. Open the Token Manager**

Go to **Menu** > **Management** > **Token Manager**.

**3. Generate a token**

Select **Generate Token** and choose a **Time To Live (TTL)**.

<ul>
  <li>Options range from `1 Hour` to `365 Days`</li>
  <li>The token stops working when its Time To Live ends.</li>
</ul>

**4. Copy the token value**

Copy the **Token Value** and paste it into the **API Token** field in StackOne Hub.

<ul>
  <li>The Token Value is displayed only once and cannot be retrieved later.</li>
  <li>Select **Download** to save it as a text file, store it securely for use later, then select **Close**.</li>
</ul>

## Find your contract number

Your contract number identifies the IONOS Cloud contract the connection reads. The **Contract Number** field is optional: leave it empty to use the contract the token was generated for.

**1. Open the account menu**

Select **Menu**, then click your initials in the top navigation bar. The drop-down shows your contract number.

<ul>
  <li>You can also find it under **Your Profile** > **My Customer Data** as **Contract Number**.</li>
  <li>Paste it into the **Contract Number** field in StackOne Hub.</li>
  <li>Example: `31000000`</li>
</ul>

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.