> For the complete documentation index, see [llms.txt](https://aiv-group.gitbook.io/mindmaid-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aiv-group.gitbook.io/mindmaid-documentation/tutorials/huong-dan-lay-key-openai.md).

# Hướng dẫn lấy key OpenAI

Sau khi đã đang nhập thành công <https://platform.openai.com/>\
**Bước 1:** Truy cập vào đương link sau: <https://platform.openai.com/api-keys>

**Bước 2:** Bạn chọn Create new secret key

<figure><img src="/files/5TYCBTV9HMKPtwqXz2JM" alt=""><figcaption><p>Chọn nút "create new secreat key"</p></figcaption></figure>

**Bước 3:** Điền tên cho key của bạn và nhấn Create secret key&#x20;

<figure><img src="/files/G57qKE7oVyjUxzKNY8XA" alt=""><figcaption><p>Điền thông tin và tạo key</p></figcaption></figure>

Như vậy là bạn đã hoàn thành tạo OpenAI key thành công

**Lưu ý:** Không chia sẻ khóa API của bạn với người khác hoặc hiển thị khóa đó trong trình duyệt hoặc mã phía máy khách khác. Để bảo vệ tính bảo mật cho tài khoản của bạn.


---

# 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 dynamically by asking a question.

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

```
GET https://aiv-group.gitbook.io/mindmaid-documentation/tutorials/huong-dan-lay-key-openai.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.
