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

# Chatbox 配置指南

> 用 Chatbox 接入 YeLin AI，并按模型 id 选择你要用的模型。

<Info>
  Chatbox 通常支持 OpenAI 兼容配置。
  你只需要填 base URL 和 **API key**。
</Info>

## 你先准备什么

1. 你在 **Console** 创建 **API key**。
2. 你准备好 base URL：`https://api.yelinai.com/v1`

## 配置步骤

1. 打开 Chatbox 的 **Settings**。
2. 选择 **OpenAI**（或类似的提供商）。
3. 填入以下参数。

| 字段       | 你要填什么                        |
| -------- | ---------------------------- |
| Base URL | `https://api.yelinai.com/v1` |
| API key  | 你在 **Console** 复制的 key       |
| Model    | 例如 `gpt-4o-mini`             |

## 验证

你发送一条测试消息。
你能收到回复就说明成功。

<CardGroup cols={2}>
  <Card title="API key 管理" icon="key" href="/faq/token-management">
    创建并保存 key。
  </Card>

  <Card title="对话补全" icon="message-circle" href="/api-reference/chat-completions">
    查看接口格式与示例。
  </Card>
</CardGroup>
