> 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). Agents can also search and read this documentation through its [MCP server](https://support.backpack.exchange/~gitbook/mcp).

# 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 %}

Mở [**Backpack Exchange**](https://backpack.exchange/) và đăng nhập trước khi thực hiện các bước bên dưới.

> Bạn mới sử dụng Backpack? [Hãy tạo tài khoản](https://support.backpack.exchange/support-docs/vn/san-giao-dich/tai-khoan-san-giao-dich/tao-mot-tai-khoan-moi/cach-tao-mot-tai-khoan-tren-web.md) để bắt đầu.

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

<figure><img src="https://1790800155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kiM6CAFBZoTCJcZ8X7k%2Fuploads%2FIF43oz49iHhZfl3zUeBW%2Fimage.png?alt=media&#x26;token=7680544c-d853-4432-bbf8-593644766c5a" 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="https://1790800155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kiM6CAFBZoTCJcZ8X7k%2Fuploads%2FXejwBF5umwjOCbgf9n77%2Fimage.png?alt=media&#x26;token=564f3981-7246-476e-8dd2-3c13dcae731d" 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="https://1790800155-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3kiM6CAFBZoTCJcZ8X7k%2Fuploads%2FiksKzybEkCor2cZbZyQy%2Fimage.png?alt=media&#x26;token=913e67bc-be26-48fc-93d0-b9f5d7bd300e" 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 by asking a question.

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

```
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=<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.
