# 如何创建APIKEY

本节将介绍如果登录OpenAI账号后台，创建一个APIKEY。

首先，登录后台网址：<https://beta.openai.com/login>

输入账号+密码，登录后台：

<figure><img src="/files/e8iX5fyoMkQXOct7GNZx" alt=""><figcaption></figcaption></figure>

接着点击创建按钮【Create new secret key】即可获得APIKEY：

<figure><img src="/files/1z7zCwIuxgLAIbwUxZFj" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.51buygpt.net/tutorial/how-create-apikey.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
