Skip to main content
Your worker connects to the Zero Runtime runtime over a secure connection. Configure the connection and credentials with environment variables.

Connect to the runtime

Point the worker at your runtime address:

Authenticate the worker

Get your auth token, or your API key and secret, from the Zero Runtime dashboard. Then authenticate in one of two ways: use a JWT auth token, or provide an API key and secret and let the SDK mint a JWT for you.

Provider keys

Providers imported from zeroruntime.inference (Node JS: @zeroruntime/js-sdk/inference) run through the Inference Gateway and authenticate with your ZERORUNTIME_AUTH_TOKEN, so they need no provider key. If you import a provider directly from zeroruntime.plugins, set the key for each one your pipeline uses:

Reference