> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unreal-engine-plugin/editor-window/sign-in-and-manage-your-account.md).

# 登录并管理你的账户

通过编辑器窗口连接你的 Convai 账户，注销以切换账户，并在 Unreal Editor 中查看套餐、配额和使用详情。

Convai 编辑器窗口可帮助你将 Unreal 项目连接到 Convai。使用你的 Convai 账户登录后，可自动存储项目 API 密钥，并在 **账户** 部分；当你需要使用其他账户时，可从右上角账户菜单退出登录。

### 前置条件

* 已安装并启用 Convai Unreal Engine 插件。
* Convai 编辑器窗口可用。请参见 [Convai 编辑器窗口](/api-docs/zh/cha-jian-yu-ji-cheng/convai-unreal-engine-plugin/editor-window.md) 了解编辑器窗口版本要求。
* 一个 Convai 账户。
* Unreal 编辑器可访问互联网。

### 完成欢迎流程

如果项目尚未完成欢迎设置或没有有效的 API 密钥，则在 Unreal Editor 初始化后可能会出现欢迎流程。

{% stepper %}
{% step %}

#### 打开 Convai 编辑器窗口

点击 **Convai 编辑器** 按钮，或者选择 **窗口 > Convai > 打开 Convai 编辑器** ，在菜单栏中。

如果 **欢迎使用 Convai** 界面已经打开，请继续下一步。
{% endstep %}

{% step %}

#### 点击连接 Convai 账户

点击 **连接 Convai 账户**。插件将打开 Convai 登录流程。
{% endstep %}

{% step %}

#### 完成身份验证

按照 Convai 登录流程进行。电子邮件和密码验证会保留在 Convai 身份验证窗口中。OAuth 提供方按钮（如 Google 或 GitHub）会在你的外部浏览器中打开。
{% endstep %}

{% step %}

#### 等待编辑器窗口打开

身份验证完成后，插件会验证并存储 API 密钥，关闭身份验证窗口，并打开 Convai 编辑器窗口。
{% endstep %}
{% endstepper %}

{% hint style="success" %}
当 Convai 编辑器窗口打开并且 **账户** 部分显示你的套餐详情。
{% endhint %}

### 退出登录并切换账户

当你需要退出登录并连接其他 Convai 账户时，请使用右上角的账户菜单。

{% stepper %}
{% step %}

#### 打开账户菜单

在 Convai 编辑器窗口中，点击右上角的账户控件。它会显示你账户名称中的两个字母。
{% endstep %}

{% step %}

#### 退出登录

选择 **退出登录**。插件会清除 `API_Key`, `AuthToken`以及此项目的缓存账户详情，并将空值写入 `Config/DefaultEngine.ini`.
{% endstep %}

{% step %}

#### 使用其他账户登录

重复上述欢迎流程，并使用你要使用的 Convai 账户登录。插件会自动存储新账户的 API 密钥。
{% endstep %}
{% endstepper %}

### 查看你的账户详情

点击 **账户** 在导航栏中打开“账户”部分。

| 区域       | 显示内容                                   |
| -------- | -------------------------------------- |
| **账户详情** | 当前套餐、套餐到期时间和配额续期日期                     |
| **使用情况** | 交互使用量、ElevenLabs 使用量、核心 API 使用量和像素流使用量 |

右上角的账户菜单会显示你账户名称中的两个字母、身份验证后的缓存用户名和电子邮件，以及一个 **退出登录** 选项。

### 故障排除

#### 登录失败

**症状：** 身份验证流程未返回 Unreal Editor，或者登录后 Convai 编辑器窗口未打开。

**原因：** 登录未完成、未收到本地回调，或者 Unreal Editor 无法连接到 Convai。

**修复：** 请重复登录流程。保持 Unreal Editor 打开直到身份验证完成，并确认你的网络允许 HTTPS 出站连接。

**验证：** Convai 编辑器窗口打开并且 **账户** 部分显示你的套餐详情。

#### 账户部分不显示使用数据

**症状：** 账户部分显示空白或占位的使用值。

**原因：** 窗口尚未加载使用数据、身份验证无效，或者编辑器无法连接到 Convai。

**修复：** 关闭并重新打开 Convai 编辑器窗口。如果数据仍未加载，请从账户菜单退出登录，再次登录，并等待 **账户** 该部分刷新。

**验证：** 账户部分显示套餐详情和使用条形图。

### 下一步

{% content-ref url="/pages/79fd9d6c59b3b63b7cf2862389b38dcf2a4493be" %}
[导出诊断日志](/api-docs/zh/cha-jian-yu-ji-cheng/convai-unreal-engine-plugin/editor-window/export-diagnostic-logs.md)
{% endcontent-ref %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/convai-unreal-engine-plugin/editor-window/sign-in-and-manage-your-account.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
