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

# ChubAI

> Connect ChubAI to Routeway for character-based roleplay with any model.

ChubAI is a character hub with built-in chat support. You can connect it to Routeway by configuring the OpenAI proxy settings and selecting a model from the fetched list.

<Note>
  Requires a valid Routeway API key. Get yours from the [dashboard](https://routeway.ai/dashboard/api-keys).
</Note>

***

## Setup

<Steps>
  <Step title="Open a chat and go to Secrets">
    Open any chat on ChubAI, then click the **Settings** icon and navigate to **Secrets**.
  </Step>

  <Step title="Configure OpenAI credentials">
    Under **OpenAI**, fill in:

    * **API Key**: Your Routeway API key
    * **Base URL**: `https://api.routeway.ai/v1`

    Close the Secrets panel after saving.
  </Step>

  <Step title="Set the API to OpenAI/Proxy">
    Open Settings again and go to **Configuration** → **Prompt Structure**. Make sure the **API** is set to **OpenAI/Proxy**.
  </Step>

  <Step title="Choose a model">
    Click the **Model** dropdown. It will take a moment (\~2 seconds) to fetch all available models from Routeway. Once the list loads, select any model you want to use.
  </Step>

  <Step title="Start chatting">
    Close settings and begin your conversation. All requests will be routed through Routeway.
  </Step>
</Steps>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Model list not loading">
    Make sure the Base URL is exactly `https://api.routeway.ai/v1` and your API key is valid. Try closing and re-opening the model dropdown.
  </Accordion>

  <Accordion title="API errors after selecting a model">
    Verify that the API is set to **OpenAI/Proxy** in Configuration → Prompt Structure. If it's set to something else, ChubAI won't route requests to your configured endpoint.
  </Accordion>

  <Accordion title="No response or timeout">
    Check that your Routeway account has balance (for paid models) or that you haven't hit rate limits (for free models). See [billing](/getting-started/billing) and [rate limits](/getting-started/rate-limits) for details.
  </Accordion>
</AccordionGroup>
