# Coinex

1. After logging in, click the person icon at the top right and select **"API Management"**

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

2. Click "Create API" at the top right.

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

Information to fill in:

* For "API Remark", you can put any words (its name API key)
* For "Applicable IP Address", please enter XAPY’s IP address [-> View Here](https://app.xapy.io).
* For "Permission", please check both "Withdrawal" and "Trade". And then click "Create".

3. Click **Next** to generate the API key

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=0drRJvdHBkk>" %}


---

# 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/coinex.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.
