> For the complete documentation index, see [llms.txt](https://ai-docs.fptcloud.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ai-docs.fptcloud.com/fpt-ai-studio/services/user-token/tutorials/how-to-create-an-user-token.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://ai-docs.fptcloud.com/fpt-ai-studio/services/user-token/tutorials/how-to-create-an-user-token.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
