> For the complete documentation index, see [llms.txt](https://support.backpack.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.backpack.exchange/support-docs/vn/san-giao-dich/api-and-tai-lieu-danh-cho-nha-phat-trien/tao-api-keys-cho-backpack-exchange.md).

# Tạo API Keys cho Backpack Exchange

{% hint style="info" %}
**Việc tạo API key hiện chỉ được hỗ trợ trên web.**
{% endhint %}

#### 1. Đi đến **Settings → API Keys**, sau đó nhấp vào **New API Key**.

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

#### 2. Nhập tên cho key, chọn sub-account và nhấp **Create** để hoàn tất.

<div align="left"><figure><img src="/files/lawFENf8W9I2sk93VsLz" alt="" width="307"><figcaption></figcaption></figure></div>

> * **Đối với hầu hết người dùng cá nhân, chúng tôi khuyến nghị để trống trường Public Key. Nếu bạn chọn cung cấp Public Key:**
>   * Bạn phải tự tạo key đó.
>   * Key phải tuân theo định dạng và thuật toán được hỗ trợ theo [tài liệu API của chúng tôi.](https://docs.backpack.exchange/)
> * **Nút Read Only sẽ giới hạn quyền của API key chỉ ở chế độ xem (view-only).**

#### 3. Lưu lại **API key** và **API secret** của bạn ở một nơi an toàn.

<div align="left"><figure><img src="/files/Tnroe1KUQOEnXKhRsDWN" alt="" width="302"><figcaption></figcaption></figure></div>


---

# 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, and the optional `goal` query parameter:

```
GET https://support.backpack.exchange/support-docs/vn/san-giao-dich/api-and-tai-lieu-danh-cho-nha-phat-trien/tao-api-keys-cho-backpack-exchange.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
