> For the complete documentation index, see [llms.txt](https://1ex.gitbook.io/1ex-smart-dom/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://1ex.gitbook.io/1ex-smart-dom/work-beginning/connection-to-the-exchange.md).

# Connection to the exchange

The connection to the exchange is implemented as a direct connection using APIs created in a personal profile on the exchange.&#x20;

### Connection to[ **Binance**](https://www.binance.com/en)**:**&#x20;

1. Launch app and go to Settings--> Connections.&#x20;

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

2. In the window that opens select Binance from the list that appears (we only support Binance at the moment).&#x20;
3. In the window that opens enter the name of the connection (use an easy name, specifically if you have many connections) and enter the API key received from the Binance. You can also use a proxy if necessary.

   <figure><img src="/files/Wfa8gZSP5Yudm7axaO3E" alt=""><figcaption></figcaption></figure>
4. Click Apply. Once the connection is established, you will see a green button in the connected column.

:bulb:In the case you need to edit an established connection, proceed with a double-click at the left mouse button on the connection and switch to the edit mode. This mode is only available when there is no connection.

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

:bulb:By clicking on the copy icon next to the name, you can copy the connection settings and quickly create a new one.

\
The information about a connection is presented as follows:&#x20;

**Connected** - shows your connection status&#x20;

**Name** - is the name of your connection&#x20;

**Market type** - indicates the concrete market type for this connection

**Auto connect** - when this option is activated, the system will automatically connect using the specified keys&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://1ex.gitbook.io/1ex-smart-dom/work-beginning/connection-to-the-exchange.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
