This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
---
title: 在 Vercel 上部署 LobeChat
description: 学习如何在 Vercel 上一键部署 LobeChat,准备 OpenAI API Key,点击按钮进行部署,绑定自定义域名,自动同步更新等。
tags:
- Vercel
- 部署指引
- LobeChat
- OpenAI API Key
- 自定义域名
- 自动同步更新
---
# Vercel 部署指引
如果想在 Vercel 上部署 LobeChat,可以按照以下步骤进行操作:
## Vercel 部署流程
<Steps>
### 准备好你的 OpenAI API Key
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
### 点击下方按钮进行部署
[![][deploy-button-image]][deploy-link]
直接使用 GitHub 账号登录即可,记得在环境变量页填入 `OPENAI_API_KEY` (必填) and `ACCESS_CODE`(推荐);