# Set Up for CEX Trading

## Connect API from CEX

To integrate your CEX account, you need to set up API keys for each CEX. Ensure you have accounts on the desired centralized exchanges, such as Binance, OKX, or Bybit. For those concerned about security, please note that your keys are not stored on Eisen's server but locally on your device in encrypted way. While there are no security risks from our side, you must still be extremely careful to prevent others from accessing your secret keys.

## Tutorials

This tutorials demonstrates how to implement Binance API keys from a Binance account into Eisen.

1. On the top left, next to the token pair, you can see the current CEX displayed as the default chart. Click the icon to begin.

<figure><img src="/files/WTTMBem9HNwwBebldTUW" alt="" width="563"><figcaption></figcaption></figure>

2. Click 'Add CEX' and select the CEX you want to implement.

<div><figure><img src="/files/6FXIzAYlmNl8tlvLoxoX" alt=""><figcaption></figcaption></figure> <figure><img src="/files/CxS0gcBZ59b2KW4XzbzB" alt=""><figcaption></figcaption></figure></div>

3. Agree to the security points and permissions after reading them carefully.

<div><figure><img src="/files/Aq4hHxXB6uExoJpcKC2i" alt=""><figcaption></figcaption></figure> <figure><img src="/files/UH2hupUb3EkOfAwM4Irs" alt=""><figcaption></figcaption></figure></div>

4. Click 'Open Binance' to go directly to the API management page on Binance, and create a new API.\
   \
   You can also access the API management page via this link : <https://www.binance.com/en/my/settings/api-management>

<figure><img src="/files/rAFuidD3TqdWAc91Tll6" alt="" width="563"><figcaption></figcaption></figure>

5. Copy and paste both the API and secret key.

<figure><img src="/files/Z8LwCMSgN59YnZ1ZMFTa" alt="" width="563"><figcaption></figcaption></figure>

6. Confirm the information about your keys. Revise the label if needed.

<figure><img src="/files/ilVurScKZuiKtwDhVjoo" alt="" width="563"><figcaption></figcaption></figure>

7. The Binance API key is now integrated with Eisen. Since you can connect multiple CEXs via multiple keys, you can view all connected APIs at once.

<figure><img src="/files/jLsH8BfJ8Di7VCnUndZx" alt="" width="563"><figcaption></figcaption></figure>

## For those who have connected

To continue trading, you need to have crypto assets in your CEX account. If you already have assets, you can trade with them on the market. If not, deposit crypto into your CEX account. [The guide for deposits and withdrawals continues on the next page.](https://app.gitbook.com/o/CuV0lujKjUH82RPuUddF/s/NGkeCh7fxvjkwxSfVb7o/~/changes/155/quick-start/user-guide-for-cex-trading/deposit-and-withdraw)


---

# 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://books.eisenfinance.com/eisen-finance/user-guide/cex-trading-on-eisen/set-up-for-cex-trading.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.
