# Huobi

1．Log in to HTX, click on the profile icon in the upper right corner, click o&#x6E;**"API Management".**

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

2. Enter the following and click on "Create". Then select "System generated"&#x20;

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

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

Information to fill in:

* Notes：Any API name
* Permission settings: Withdraw, Trade
* Link IP address or IP segment : please enter XAPY’s IP address [-> View Here](https://app.xapy.io)

3. Click Create "HMAC API".&#x20;

After completing the verification. You have now generated an API Key. You can go to XAPY Platform to link your Bitget account with the API key, API secret key

**Below is a step-by-step illustration video.**

{% embed url="<https://www.youtube.com/watch?v=iyNgO8KwVCk>" %}


---

# 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.xapy.io/integration/generate-api-key/huobi.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.
