> For the complete documentation index, see [llms.txt](https://docs.algomojo.com/algomojo/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.algomojo.com/algomojo/brokers/login-to-broker/kotak.md).

# Kotak

## Login with Kotak

### Guiding Principles for how to get consumer key

#### Step 1

Open the Kotak Neo login page:- <https://neo.kotaksecurities.com/Login>

#### Step 2

Sign in using your Kotak Neo credentials (Client ID / password / any required OTP).

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

#### **Step 3**

After login, find and click the **More** icon (usually top menu or three-dot/three-line menu).

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

#### Step 4

From the menu, choose **Trade API**.

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

#### Step 5

* Inside the Trade API area click **Create Application** (or similar button).
* The system will generate a **Consumer Key** (sometimes called Consumer API Key).
* Copy the Consumer Key (and any secret/credentials shown) and save them securely — you’ll paste these into Algomojo.

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

#### Step 6: Whitelist the Static IP

1. Look for the Add IP (or Whitelist IP) button.
2. Action: Copy your Static IP from the Arrownect "My Servers" section and paste it into the Primary IP box.
3. *Optional:* You can also add a secondary IP if you have a backup server.

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

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

#### Step 4: Save & Update

Click the Update (or Save) button.

#### **Step 6**

Open the specific Algomojo Kotak login link you were provided.

<table data-card-size="large" data-view="cards"><thead><tr><th align="center"></th></tr></thead><tbody><tr><td align="center"><a href="https://am.algomojo.com/"><strong>Login with Kotak New User</strong></a></td></tr></tbody></table>

#### **Step 7**

* On Algomojo, choose **Broker: Kotak Neo**.
* Click **Login with Broker**
* Choose **New user registration**

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

#### **Step 8**

Enter the requested details:

* **Client ID** (your Kotak client id)
* **Mobile number** (must match the number registered with Kotak)
* **Consumer Key** (paste the key you copied from Kotak)

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

* **Server Code**: Paste the secret key you copied from Arrownect.
* **Server Token**: Paste the secret key you copied from Arrownect.
* Select Verify after it's shows active then choose Submit.

Submit. Algomojo will use those consumer API details to connect to your Kotak account.

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

#### ⚠️ Final Reminder

> Without the Arrownect Static IP and the Server Code/Token, you will be unable to log in to your account. The system is designed to verify that the request is coming from your specific, authorized server before allowing any trades.

### Guiding Principles for how to Register TOTP Authentication

#### Step 1

In the Kotak **Trade API** area, open the right-side/top menu and select **TOTP Registration**.

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

#### Step 2

Enter the **registered mobile number** that Kotak has on file for your account.

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

#### Step 3

You will receive an OTP on that mobile — enter the OTP when prompted.

<figure><img src="/files/11SO5cRFyB7zRlw2UlTp" alt=""><figcaption></figcaption></figure>

#### Step 4

Confirm your **Client ID** when requested.

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

#### Step 5

Choose **Register TOTP** (or similar). The portal will display a **QR code** (and sometimes a manual secret).

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

#### Step 6

* Install an authenticator app on your phone if you haven’t already:
  * Google Authenticator (Android / iOS) **or**
  * Microsoft Authenticator (Android / iOS)
* In the authenticator app, tap “Add account” → scan the QR code displayed in the Kotak portal.
  * If scanning is not possible, choose “Enter a setup key” in the app and paste the manual secret shown on Kotak.
* The app will produce a 6-digit rotating code (TOTP). Enter that 6-digit code back on the Kotak portal to confirm.
* When the portal shows **“TOTP successfully registered”**, the setup is complete.

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

### Already a User

**Step 1: Initiating Algomojo**

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

To start Algomojo, click on the above  link. Upon redirection, you will be directed to the Algomojo portal. Enter the client ID, MPIN, and TOTP to log in.

***Note:** The image below displays the login screen.*

<div align="left"><figure><img src="/files/IWoeaLPkRysTM4OReoX5" alt=""><figcaption></figcaption></figure></div>
