How to set up the TWS is also described in the manual under "IB".