# How to Create an User Token?

### Step 1: Create user token <a href="#contentify_0" id="contentify_0"></a>

* Access Token service at <https://ai.fptcloud.com/> and click button "**Create New Token**"

  <figure><img src="https://fptcloud.com/wp-content/uploads/2025/10/image-1760341748499.png" alt=""><figcaption></figcaption></figure>
* Show popup Create New Token

<figure><img src="https://fptcloud.com/wp-content/uploads/2025/10/image-1760341777314.png" alt=""><figcaption></figcaption></figure>

* Name: Enter a name for your new token. Token name limits up to 50 characters. Only letters, numbers, underscore, hyphens, spaces, and dots are allowed.
* Expiration: Choose an expiration date for the token from the dropdown options (30/60/90 days)
* **Notes**: Token is only valid for **Model Fine-tuning** & **Model Hub** services
* Once the name and expiration are selected, click the **Create Token** button.
* This will generate the token for use in your AI Studio services.
* **Important**: The token will only be shown once, so be sure to **copy it right away** after creation.
  * Save the token in a secure place, as you won’t be able to retrieve it again.

### Step 2: Get Tenant ID <a href="#contentify_1" id="contentify_1"></a>

* After creating the token, it will be displayed in the token list on the Tokens page.
* Locate your **Tenant ID** from the list of tokens.
* You will now have both the **access\_token** and **tenant\_id** needed to use the API for fine-tuning.


---

# 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://ai-docs.fptcloud.com/fpt-ai-studio/services/user-token/tutorials/how-to-create-an-user-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.
