> For the complete documentation index, see [llms.txt](https://docs.duplocloud.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.duplocloud.com/docs/armor/access-control/user-tokens.md).

# User Tokens

This document explains how to create a new API Token in the DuploCloud AI Suite, using the User Tokens tab and the Profile page.

***

## Prerequisites

* Access to the DuploCloud AI Suite admin panel
* An authenticated user account

***

## Step 1 — Navigate to Access Control → User Tokens

Go to **AI Admin → Access Control** in the left-hand navigation. Click the **User Tokens** tab at the top. This lists all existing API tokens with their name, token value, user, created date, last used, expiry, and status.

![Step 1 — User Tokens tab](/files/lZiTnu0FjvpnVjEp2D4K)

***

## Step 2 — Click the Profile Icon (Top Right)

In the top-right corner of the page, click the **profile avatar** icon. A dropdown menu appears showing your name and role.

![Step 2 — Profile dropdown](/files/gQqwxysdjhtEt963DBxO)

***

## Step 3 — Click "Profile"

In the dropdown, click **Profile**. This navigates to your Profile page which shows your User Info and the API Tokens table.

![Step 3 — Profile page](/files/z3s62NmGDe9xTuqdMxfG)

***

## Step 4 — Click "Create Token"

On the Profile page, locate the **API Tokens** section. Click the **Create Token** button on the right side (shown in purple).

A **Create API Token** modal dialog opens with two fields: Token Name and Expiry Date.

![Step 4 — Create API Token modal](/files/XhuP66eoBeKZlpgmMIMA)

***

## Step 5 — Enter a Token Name

Click the **Token Name** field and type a descriptive name for the token.

In this example: `QA-Test-Token`

![Step 5 — Token name filled](/files/DouDcd1JUE5NHdJh4kh8)

***

## Step 6 — Set the Expiry Date

Click the **Expiry Date** field and enter a future date in `YYYY-MM-DD` format.

> **Important:** The expiry date must be greater than today's date or the form will reject it.

In this example: `2026-04-11` (April 11, 2026)

![Step 6 — Expiry date set](/files/WHapp961cfFkDYzeBw5M)

***

## Step 7 — Click "Create"

Review the token name and expiry date, then click the **Create** button.

![Step 7 — Ready to submit](/files/WHapp961cfFkDYzeBw5M)

***

## Step 8 — Copy the Token

A **Token Created** confirmation dialog appears showing the full token value. **Copy the token now** — it will not be shown again.

Click **Copy** to copy it to your clipboard, then click **Close**.

![Step 8 — Token created, copy it now](/files/T5A7Rm3Rh9q8m3uaALq9)

The new token appears in the API Tokens table with **Active** status and the expiry date you set.


---

# 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://docs.duplocloud.com/docs/armor/access-control/user-tokens.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.
