> ## 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

Model 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/4xcluLsVI-oSofYg/docs-image/profile-button.webp?fit=max&auto=format&n=4xcluLsVI-oSofYg&q=85&s=c8e6c06800d999193db12fdeed700eb2" alt="Alt RunComfy Profile Button" width="1470" height="431" data-path="docs-image/profile-button.webp" />

<img src="https://mintcdn.com/inceptionsaiinc/4xcluLsVI-oSofYg/docs-image/api-token.webp?fit=max&auto=format&n=4xcluLsVI-oSofYg&q=85&s=b223e46928ff66189df7df4f73b7206e" alt="Alt RunComfy API Token" width="1460" height="211" data-path="docs-image/api-token.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.
