# Phemex

This guide is intended to help you connect the Phemex exchange to the ATAS platform. If you don't have an account yet, you can sign up on the exchange using the following [**link**](https://phemex.com/register).

***

<figure><img src="/files/4JWZGQJYz0lI0d2qupOf" alt=""><figcaption></figcaption></figure>

To connect a Phemex account to the ATAS platform, you need to create an API key. You can do this in your personal account under the ***API Management section*** - ***Create a new API key.***

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

When creating the API, select the following settings:

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

Then you will receive a code to your email, which needs to be entered in the "Safety Verification" window.

<figure><img src="/files/3DVrjQ8Cx1pxYkaXCoPG" alt=""><figcaption></figcaption></figure>

The API key has been successfully generated!&#x20;

Connect the account using the generated keys in ATAS. To do this, in the main window of the platform, click on ***Connections - Add - Phemex*** and then click ***Next***.

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

Setting up the connection in ATAS.

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

* API key, Secret key - keys generated on the website.
* Use testnet - must be activated to connect a demo account.
* Connection name - the displayed name of the connection in the connection list.
* Portfolio name - a name for the portfolio to distinguish portfolios from multiple simultaneous connections (optional).

After configuring the connection, it will appear as a separate line in the list of connections.

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

1\. **Add** – add a new connection.

2\. **Type** – connection source.

3\. **Name** – connection name which you can set yourself.

4\. **Status** – connection status.

5\. **Quote Provider** – option to select a quote provider (this connection will be used as a quote provider).

6\. **Auto-Connect** – if you want the connection to automatically occur when the platform is launched, you need to enable this option.

7\. **Connection settings button.**

8\. **Remove connection from the list button.**

9\. **Connect/Disconnect** – connect/disconnect the connector.

{% hint style="info" %}
You can read about the settings of this window at the following link: [Connection Settings Window](https://help.atas.net/en/support/solutions/articles/72000612212)
{% endhint %}


---

# 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://start.atas.net/step-4.-connect-your-account/crypto/phemex.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.
