> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hubto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Use in OpenClaw

> Connect HubTo to OpenClaw as a custom OpenAI-compatible provider.

## Overview

OpenClaw supports custom providers through its onboarding wizard and config files.

With HubTo, you can point OpenClaw to a unified OpenAI-compatible gateway and manage models and API keys centrally.

## Quick setup

Set your API key:

```bash theme={null}
export HUBTO_API_KEY="YOUR_API_KEY"
```

Run the onboarding wizard in custom-provider mode:

```bash theme={null}
openclaw onboard \
  --auth-choice custom-api-key \
  --custom-provider-id hubto \
  --custom-compatibility openai \
  --custom-base-url "https://api.hubto.ai/v1" \
  --custom-model-id "glm-5.1" \
  --custom-api-key "$HUBTO_API_KEY"
```

## Notes

* Use `https://api.hubto.ai/v1` as the base URL.
* Replace `glm-5.1` with any model that is enabled in your HubTo account.
* If you prefer manual config, you can add a custom provider under `models.providers` and set the default model to `hubto/glm-5.1`.
