> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runcomfy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Authentication

Trainer API uses Bearer token authentication.

Send your API token in the `Authorization` header:

`Authorization: Bearer <token>`

## Get an API token

Get your token from your [Profile](https://www.runcomfy.com/profile) page (avatar menu > **API Token**).

<img src="https://mintcdn.com/inceptionsaiinc/uC4XbIQHf85vCRtc/docs-image/api-token2.webp?fit=max&auto=format&n=uC4XbIQHf85vCRtc&q=85&s=a401b83c924011da23829f04452c80f9" alt="Alt RunComfy API Token" width="1585" height="1018" data-path="docs-image/api-token2.webp" />

If you regenerate your token, the old token stops working immediately — update any integrations.

## Keep your token secret

Do not ship your token in client-side apps (browsers, mobile apps). Route requests through a server-side service you control.
