Enable the API in IBKR
In TWS or IB Gateway, open API settings, enable socket clients, and authorize the address that will run the Kairox worker. Locally, the address is often 127.0.0.1.

Interactive Brokers uses IB Gateway or Trader Workstation. Kairox connects to the local or remote server using a host:port and client ID, then routes compatible financial orders.
This part happens in the broker or platform interface. The goal is to create credentials dedicated to Kairox, with only the permissions needed for trading.
In TWS or IB Gateway, open API settings, enable socket clients, and authorize the address that will run the Kairox worker. Locally, the address is often 127.0.0.1.
Define a numeric client ID, such as 1. This client ID lets Kairox open a separate API session.
Note the host and port in host:port format. Example: 127.0.0.1:7497 for a local paper trading gateway.
Once access is ready, create the connection from the Kairox dashboard. The system will use it to prepare orders according to market, symbol, and risk limits.
In Connect Brokers & Exchanges, choose the financial category, then Interactive Brokers.
In IB Gateway Host:Port, enter the host:port for TWS or IB Gateway. In IB Client ID, enter the numeric client ID you chose.
Account ID is optional. Use it if your IBKR session exposes multiple accounts and you want to force a specific destination.
Use this mapping to avoid pasting a secret into the wrong field. Labels match the Connect Brokers & Exchanges form.
Create or check your keys, then add the connection in Kairox from the user workspace.