# Download tokens (HuggingFace & Civitai) (/docs/models-loras/download-tokens)



Some models are hosted behind a free account wall. SimpliGen downloads them for you, but the host requires a personal access token:

* **HuggingFace**: required for *gated* models (for example Flux Klein). Free.
* **Civitai**: required for downloading LoRAs and community models from Civitai. Free.

Both are entered once in **Settings** and remembered.

## HuggingFace token, step by step [#huggingface-token-step-by-step]

1. Create a free account at [huggingface.co](https://huggingface.co/join).
2. Open the [Access Tokens page](https://huggingface.co/settings/tokens) (**Settings -> Access Tokens**) and click **New Token**.
3. Pick the classic **Read** token type. Do not use a fine-grained token; those often fail unless every permission is set correctly.
4. Copy the token into SimpliGen when a download asks for it (or in Settings).

## Gated models: the extra step everyone misses [#gated-models-the-extra-step-everyone-misses]

Gated models (Flux Klein and others) also require you to **accept the model's license terms on the HuggingFace website**; the token alone is not enough.

1. Open the model's page on [huggingface.co](https://huggingface.co) **while logged into the same account your token belongs to**.
2. Click through the "agree / request access" prompt on the model page.
3. Wait for "You have been granted access" (usually instant).
4. Retry the download in SimpliGen.

<Callout type="warn" title="Stuck in an 'enter API key' loop?">
  The download asking for your key again and again almost always means one of: (1) the terms were accepted with a <b>different</b> HuggingFace account than the token's, (2) the token is fine-grained instead of classic Read (create a fresh classic Read token), or (3) the model needs terms accepted on <b>more than one</b> repository: Flux Klein has a base repo and a separate fp8 repo, and both need access. To verify, try downloading the file directly on the HuggingFace page in your browser: if that fails, SimpliGen will fail too.
</Callout>

## Civitai token [#civitai-token]

1. Create a free account at [civitai.com](https://civitai.com).
2. Open your [account settings](https://civitai.com/user/account), scroll to **API Keys**, and create a key.
3. Paste it into SimpliGen when prompted.

Note: pasting a Civitai page URL into SimpliGen as a download source is not supported. To use a Civitai model that isn't part of a preset, download the file in your browser and add it manually (LoRAs: via the LoRA manager).

## Manual download fallback [#manual-download-fallback]

If a download keeps failing you can fetch the file in your browser and drop it into the engine's models folder, `%APPDATA%\simpligen\engine\models\`, using the standard ComfyUI layout (`diffusion_models`, `checkpoints`, `loras`, `text_encoders`, `vae`, ...). Restart the engine afterward so it picks the file up.
