# Upstox

### Login with Upstox

Follow these Tutorial video to log in :

#### Video Tutorial

{% embed url="<https://vimeo.com/993955105>" %}

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th></tr></thead><tbody><tr><td align="center"><a href="https://up.algomojo.com/#/"><strong>Login with Upstox</strong></a></td></tr><tr><td align="center"><a href="https://algomojo.com/open-an-account/registration/?broker=UP"><strong>Open An Account</strong></a></td></tr></tbody></table>

### Guiding Principles for how to get Api Key and Secret

1. **Click here to Start:**

   To start, click on this UpstoxDeveloper Portal link:\
   <https://developer.upstox.com/>
2. **Login to Developer Portal:**<br>

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

   👉- Go to the developer portal website as per the image above.\
   \
   👉- Enter your credentials (Mobile no and then enter the otp  ) to log in.
3. **Create a New App:**\
   \
   Click the create new app button as per given image below<br>

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

   👉- Once logged in, navigate to the section where you can create a new application. \
   \
   👉- Click on the option to create a new app.
4. Click the Create (or Save) button.
5. Enter Connection Details

   1. App Name: Enter a recognizable name (e.g., *Arrownect\_Algo*).
   2. Redirect URL: You must enter this exact URL for the Algomojo integration:

   `https://up.algomojo.com/xl-connect/am/login-response`

   1. Static IP: Copy your Static IP from Arrownect and paste it into the Primary IP field.
      * *Optional:* Upstox also provides a Secondary IP field if you have a backup Arrownect server.

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

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

   #### Step 4: Create & Finalize

   * Click the Create (or Save) button.
   * Once saved, your API Key and Secret Key will be displayed. Copy these for your Algomojo broker setup.

&#x36;**.Copy api key and application id:**

👉-Click the  arrow button to copy the api key and secret

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

👉- Copy the api key and secret key as per image given below

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

&#x37;**.To start algomojo click on this link**[**-**](https://www.kotaksecurities.com/trading-tools/kotak-neo-trading-platform/trading-api/)

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th></tr></thead><tbody><tr><td align="center"><a href="https://up.algomojo.com/#/newuser">Login with  Upstox</a></td></tr></tbody></table>

To initiate Algomojo, click on the above link. Upon redirection, you will be directed to the Algomojo new user portal.

&#x38;**.New user**

After opening the new user tab, utilize the copied API details acquired during the process of obtaining your Upstox portal credentials. Subsequently, use these credentials to log in to Algomojo. Ensure accurate updating of the information

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


---

# 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.algomojo.com/algomojo/brokers/login-to-broker/upstox.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.
