# Hugging Face Gated Repositories Integration

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).

## Configure Integration

1. In the HiddenLayer Console, go to **Settings > Integrations**.
2. Under **AI & Agentic Ecosystem**, click the menu (three vertical dots) for **Gated Hugging Face**.

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

5. Click **Save**.


## Scan Gated Hugging Face Models

| Scan | Description | Link |
|  --- | --- | --- |
| Community Scan using the Console | Use the Console UI to scan a Hugging Face gated model. | [Console Community Scan](/docs/products/console/supply_chain_add_community_model) |
| Community Scan using GitHub Actions | Use a GitHub Action to scan a Hugging Face gated model. | GitHub Action |


Request Access to Gated Models
- 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.