> ## 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.

# ChatGPT Next Web 配置指南

> 在 ChatGPT Next Web 中配置 YeLin AI 的 OpenAI 兼容接口。

<Info>
  你只需要配置 base URL 与 **API key**。
  base URL 固定为 `https://api.yelinai.com/v1`。
</Info>

## 你先准备什么

1. 你在 **Console** 创建 **API key**。
2. 你已部署并能打开 Next Web。

## 配置步骤

1. 打开 Next Web 的 **Settings**。
2. 找到 **OpenAI API Key** 与 **Base URL**。
3. 按下表填写。

| 字段       | 你要填什么                        |
| -------- | ---------------------------- |
| API key  | 你在 **Console** 复制的 key       |
| Base URL | `https://api.yelinai.com/v1` |
| 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>
