# Introduction

This document explains how to embed the trading UI into the main business system. Through the main business system, users can directly jump to or open the trading system using an embedded iframe, and perform product transactions without needing to log in again.

<br>

Process:

1\. When the main business system jumps to the trading system, it needs to pre-check whether the user's account exists. If it doesn't exist, registration is required.

2\. After registration, obtain the user's account and bind it with the main account. The next time the user opens the trading system, they will exchange for a token.

3\. If the user has already been bound, use the account and password to obtain a valid token.

4\. Based on the valid token, the trading system address is concatenated and opened with an iframe.

5\. At this point, the trading UI will internally log in automatically using the valid token, and product transactions can be performed once the page is opened.


---

# 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.multimarkets.org/web-iframe/introduction.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.
