Create a Kite Connect app
Kite Connect is Zerodha's official trading API. To use Sharenox terminal, you need a Zerodha demat/trading account first — if you don't have one, sign up at zerodha.com.
Once you have a Zerodha account:
- Visit developers.kite.trade and log in with your Zerodha credentials.
- Click My Apps in the top nav.
- Click Create new app.
- Pick a name (e.g., "Sharenox Terminal") and a category — keep it simple.
Choose plan: Personal (Free) vs Connect (₹500/mo)
Kite Connect currently has two tiers. Most Sharenox users need the paid Connect plan — here's the difference:
| Feature | Personal (Free) | Connect (₹500/mo) |
|---|---|---|
| Place / modify / cancel orders | ✓ Yes | ✓ Yes |
| Holdings & positions read | ✓ Yes | ✓ Yes |
| WebSocket live tick data | ✗ No | ✓ Yes |
| Historical OHLC data | ✗ No | ✓ Yes |
| Sharenox Live Tracking page | ✗ Will not work | ✓ Works fully |
| LTP streaming in terminal | ✗ No | ✓ Real-time |
| Watchlist price alerts | ✗ No | ✓ Yes |
To add credits: Go to developers.kite.trade → Billing → Add ₹500 credits (or link Zerodha account for auto-renewal).
Set the Redirect / Callback URL
This URL tells Kite where to send users after they log in. It must match Sharenox's callback exactly — even one extra slash or a typo will fail with a confusing error.
In your Kite Connect app's settings, paste this into the Redirect URL field:
https://api.sharenox.com/api/kite/callback
https://sharenox.com/... (no api. subdomain). Kite will redirect, but the callback handler lives on the API subdomain. Use the URL above exactly as shown.
Whitelist Sharenox server IP (critical, SEBI mandate)
As of March 2026, SEBI requires that every API call to a broker originate from an IP address registered with the broker. Without this step, every Sharenox order will fail with 403 Forbidden or IP not whitelisted errors.
In your Kite Connect app's settings, find the Allowed IPs field and paste this IP:
Loading…
The same IP is also displayed in Sharenox's terminal execution log on every page load — search for "Sharenox outbound IP" in the log panel.
Save API Key & Secret in Sharenox profile
Once your Kite Connect app is configured, it shows two credentials — API Key and API Secret. These are like a username/password pair Sharenox uses to talk to Kite on your behalf.
- From your Kite Connect app's dashboard, copy the API Key.
- Click Show next to the API Secret and copy it too. The secret is shown only once — store it safely. If you lose it, regenerate.
- In Sharenox, go to Profile → Edit.
- Paste both values into the Kite API Key and Kite API Secret fields.
- Save.
Daily login — token refresh after 6 AM IST
Per Zerodha policy, every Kite Connect access token expires daily at 6:00 AM IST. This is non-negotiable — Sharenox cannot keep you logged in beyond that. Treat it like clearing customs every morning.
The flow each morning:
- Open Sharenox Terminal.
- You'll see Kite: Not Connected in the top bar.
- Click 🔑 Kite Login (top right).
- You're redirected to Kite's login page — enter your Zerodha PIN/2FA.
- Kite sends you back to Sharenox automatically. Status changes to Kite: Connected.
Total time: ~5 seconds, once per trading day.
Troubleshooting common errors
"Token is invalid or has expired"
Your daily access token expired (after 6 AM IST). Click 🔑 Kite Login again.
"403 Forbidden" or "IP not whitelisted"
Go back to Step 4. The Sharenox server IP has likely changed — copy the latest IP from above and update your Kite app's Allowed IPs.
"Insufficient permission" on LTP / Historical data
You're on the Personal (free) plan but trying to use WebSocket / real-time data features. Add ₹500 credits and upgrade to the Connect plan in Billing. See Step 2.
"Invalid redirect URI"
The Redirect URL in your Kite app doesn't match Sharenox's callback. Re-paste the URL from Step 3 exactly — no trailing slash, lowercase, with the api. subdomain.
"Please add your Kite API Key in your profile"
You skipped Step 5. Go to Profile → Edit and save your API Key & Secret first.
WebSocket connects but disconnects after a few seconds
Usually IP whitelist mismatch. Verify the current Sharenox IP (Step 4) matches what's in your Kite app's Allowed IPs.
Frequently asked questions
Ready to connect?
Once you've completed all 6 steps, head to the terminal and click 🔑 Kite Login.
Open Sharenox Terminal →