# Generate API keys for Backpack Exchange

{% hint style="info" %}
**API key creation is currently supported on the web only.**
{% endhint %}

#### 1. Go to **Settings** → **API Keys**, then click **New API Key**.

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

#### 2. Enter a name for the key, choose the sub-account, and click **Create** to finish.

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

> * **For most individual users, we recommend leaving the Public Key field blank. If you choose to provide a Public Key:**
>   * You must generate it yourself.
>   * It must follow the supported format and algorithm specified in our [API documentation.](https://docs.backpack.exchange/)
> * **The Read Only button restricts the API key’s permissions to view-only access.**

#### 3. Record your API key and API secret in a secure location.

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


---

# 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://support.backpack.exchange/exchange/api-and-developer-docs/generate-api-keys-for-backpack-exchange.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.
