# Gate IO

1. Click your Profile icon on the top right of the page.&#x20;

![(click the leftmost icon)](/files/-McDzG5VFDCT1sC1qmgR)

2\. Select API Management from the drop down menu

![(Select the "APIv4 Keys" option)](/files/YfnKU1Xfu4MOYEgCg1m1)

3\. You will see the APIv4 Keys page. Click the Create new API Key button.

![(Click "Create new API Key" button)](/files/dPft325vsQ63OYLVvDXT)

4\. The next page will prompt you for additional security checks. After you have cleared the checks, you will be shown the "Create API Key" window as shown below.

![(Be sure to enable the right permission)](/files/bogQRFUQ5gCFK5jrJlBg)

5\. You can name your API Key as "CryptoHero" in the Remark text box.

6\. Be sure to enable the permissions for&#x20;

* Spot/Margin Trade (Read and Write)
* Wallet (Read Only)

**Never** enable Withdraw permission.

7\. Click the Create and Confirm button.

8\. The next window will show the Key and Secret values. Copy the Key value to CryptoHero's API key text field. Copy the Secret value to CryptoHero's Secret key text field.

9\. Click Add Exchange button in CryptoHero.

10\. If it is successful, Gate.IO will appear in the list of Connected Exchanges.


---

# 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.cryptohero.ai/connecting-exchanges/gate-io.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.
