Hugging Face allows providers to secure their models behind gates to limit access. Set up the Gated Hugging Face integration with a shared token to access these repositories. This streamlines the workflow and enables automation through the API.
Once this integration is enabled, the token is used for any Hugging Face scan (gated and non-gated models).
In the HiddenLayer Console, go to Settings > Integrations.
Under AI & Agentic Ecosystem, click the menu (three vertical dots) for Gated Hugging Face.

Select Configure Integration.
Paste your Hugging Face token into the Token field.

Click Save.
| Scan | Description | Link |
|---|---|---|
| Community Scan using the Console | Use the Console UI to scan a Hugging Face gated model. | Console Community Scan |
| Community Scan using GitHub Actions | Use a GitHub Action to scan a Hugging Face gated model. | GitHub Action |
To scan a Hugging Face Gated model, you must be granted access to it.
- You can request access via the Hugging Face website.
- See Hugging Face's Gated Model documentation for more information.
You must be granted access with the Hugging Face account associated with your Gated Hugging Face integration.