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: 在 Railway 上部署 LobeChat
description: 学习如何在 Railway 上部署 LobeChat 应用,包括准备 OpenAI API Key、点击按钮进行部署、绑定自定义域名等步骤。
tags:
- Railway
- 部署
- LobeChat
- OpenAI
- API Key
- 自定义域名
---
# 使用 Railway 部署
如果想在 Railway 上部署 LobeChat,可以按照以下步骤进行操作:
## Railway 部署流程
<Steps>
### 准备好你的 OpenAI API Key
前往 [OpenAI API Key](https://platform.openai.com/account/api-keys) 获取你的 OpenAI API Key
### 点击下方按钮进行部署
[](https://railway.app/template/FB6HrV?referralCode=9bD9mT)