# How to add Broker?

1. Login to Your Panel:
   * If using a mobile device, click on the option bar and navigate to the "Broker" option.
   * If using the web interface, find the "Broker" option in the panel header and click on it.
2. Access Broker Page:
   * Once on the broker page, locate the "ADD BROKER" option.
3. Click on "ADD BROKER":
   * Click on the "ADD BROKER" option, which will prompt a popup window.
4.

```
<figure><img src="/files/diKqwzM9aSuS50NGbuDQ" alt=""><figcaption></figcaption></figure>
```

5. Select Broker and Enter Details:
   * **In the popup window, first, select your broker from the dropdown list.**
   * Enter the API key, secret key, client code, and PIN of the demat login account as required.
6.

```
<figure><img src="/files/Yx9y978TaAsVlS8VBV0E" alt=""><figcaption></figcaption></figure>
```

7. Obtain API and Request Token:
   * To obtain the API key and secret key, click on the "Developer" option below the broker popup page.
   * To request a token, click on the "Test Connection" button.
8.

```
<figure><img src="/files/Bx5xQfwdhUQc237LXRZf" alt=""><figcaption></figcaption></figure>
```

9. Fill in Details and Save:
   * Fill in all the necessary details carefully in the popup window.
   * Ensure there are no spaces at the beginning or end of the keys and tokens while copying and pasting.
10. Save Request:
    * After filling in all the required information, click on the "Save Request" button.
11. Confirmation:

    * You will receive a confirmation message indicating that your broker has been added successfully.

Guide here: [Adding Brokers](/brain-auto-tech/adding-brokers.md)<br>

Note: Pay attention to copying and pasting the API key, secret key, client code, and PIN without any extra spaces. This ensures the accurate addition of your broker to your Brain Auto Tech panel.


---

# 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://brainautotech.gitbook.io/brain-auto-tech/how-to-start/how-to-add-broker.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.
