Access private and gated models
Use a read token from an account with access to the model. For gated models, accept the model’s license and obtain any required approval first.
Integration
Store a Hugging Face access token. Attached services receive it as HF_TOKEN, which Hugging Face libraries and vLLM read to download private or gated models.
Use a read token from an account with access to the model. For gated models, accept the model’s license and obtain any required approval first.
HF_TOKEN exists in running containers only, so download models when the service starts and not in the image build.
Integration kinds
Hugging Face has one integration kind on Wodby. You create the integration once, in an organization or a project, and use it in as many apps as you need.
Variables
Provide HF_TOKEN to services that download private or gated models from Hugging Face.
Environment variables
Related features
The catalog lists every provider and the kinds of integration it has.
Stacks
These stacks are examples of where the integration is used. Each card says what it does there.
Stack
Python application stack for custom web apps, APIs, workers, and automation services.
Attach the integration to a Python service that loads models with a Hugging Face library.
View stackStack
Next.js application stack on Node.js, with optional PostgreSQL, Valkey caching, document conversion, and email services.
Attach the integration to the Next.js service. The values reach server-side code at runtime and are not available during the build.
View stackStack
Node.js application stack for APIs, workers, and custom services, with optional PostgreSQL, Valkey caching, document conversion, and email services.
Attach the integration to the Node.js service, and your code reads the values from the environment.
View stackStack
Laravel application stack with Nginx, PHP, MariaDB, Valkey, and a queue worker.
Attach the integration to the PHP service, where the Laravel code runs.
View stackThe catalog lists the other providers by integration kind. The features page covers what integrations are used for, including CI/CD, backups, and private app access.