For the complete documentation index, see llms.txt. This page is also available as Markdown.

How-To: Create User Access Token

This guide explains how to create a User Access Token using two methods: the Web Console and the Python SDK.

  • Workload-Specific: Tokens created are specific to one user and one workload. Unassigned tokens can be linked to a workload later.

  • Expiration: Tokens are valid for 30 days and must be renewed upon expiration.

  • Token Management: After creation, tokens can be updated, or reassigned, or their status (active/cancelled) can be changed as needed.

Follow these steps to create a token for a specific model through the LatticaAI web console:

Create Token Flow
1

Go to the Token Management section of the specific Workload on the dashboard.

2

Create a New Token

  • Click Create Token.

  • Enter a name for the token for easy identification.

  • Specify the Workload to which the token will be linked.

    Optional: Leave the workload field empty if you want to create an unassigned token.

3

Generate

Click Generate to generate the token. The new token will appear in the list, where you can manage its attributes, status, or assignment.

4

Copy the Token Value

After the token is generated, the system displays the token value. Copy this token value for future use.

5

Review and Confirm

  • Verify all token details.

  • Click Done to save the token.

6

Delete if Incorrect

If the token details were entered incorrectly, click Delete to remove the token and start the process again.

You can create tokens directly from the Tokens List page. This process is useful for creating unassigned tokens or managing tokens centrally.

  1. Navigate to the Tokens Page Log in to the web console and go to the Tokens section.

  2. Click "Add Token"

    • Click the Add Token button to open the token creation window.

    • Fill in the token details

      • Note: The end user cannot use unassigned tokens until they are linked to a model.

  3. Generate the Token Click Generate Token to create the token.

  4. Copy the Token Value

    • After the token is generated, the system displays the token value.

    • Important: Copy this token value for future use. The token is not stored in the system and cannot be retrieved later.

  5. Review and Confirm

    • Verify all token details.

    • Click Done to save the token.

  6. Delete if Incorrect

    • If the token details were entered incorrectly, click Delete to remove the token and start the process again.

Keep the generated token in a secure place!

Last updated

Was this helpful?