# Generate new token

Generate Token functions to create a personal access token that serves as the user's identity and access permission to Cloudeka services. This token ensures that every access to the system is secure and verified, without the need to use an account or password directly.

On the Service Portal AI page, click your profile name in the top-right corner, then select API.

<figure><img src="/files/LvsyXb14a6BnNUapIS5D" alt=""><figcaption></figcaption></figure>

&#x20;The system will display the API Overview page → select the Token tab.

<figure><img src="/files/J0rPGmX0pMqhbnqACXBe" alt=""><figcaption></figcaption></figure>

On the Token page, click the New Token button.

<figure><img src="/files/Q6NLQtB5x0gwv1QsSXoT" alt=""><figcaption></figcaption></figure>

The system will automatically display the Create Token form — fill in the token details, then click the Confirm button.

<figure><img src="/files/50X2F5ykijHwui3WzTiY" alt=""><figcaption></figcaption></figure>

| Column       | Description                                                                                                                                             |
| ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Token Name   | Used to provide a name or label for the created token.                                                                                                  |
| Expired date | <p>Used to set the token’s expiration date.<br><br></p><p>Note: If the Expired Date field is left empty, the token will remain active indefinitely.</p> |

After completing the token data input, the system will display a notification saying “Token has been successfully created”, followed by a dialog box showing the Secret API Key.

<figure><img src="/files/7qUMzpVlqGSzYXc2aeRR" alt=""><figcaption></figcaption></figure>

Click the Copy button to copy the Secret API Key

<figure><img src="/files/8jEHZoBqB5QBtzPq3tJc" alt=""><figcaption></figcaption></figure>

Click the Close button when finished. The created token will then appear in the token list table.

<figure><img src="/files/sCeNoiILHJMb1XMLvAPh" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/cloudeka-api-list/how-to-get-token/generate-new-token.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
