The East India Company was founded in England in 1599 and soon begun building trading warehouses in India.
At this time India was not a united contry. There were many small states, each with its own ruler. The East India Company sometimes asked for permission to trade in Indian states but sometimes it did not.
At the same time, the French had their own East India Company. Competition between the British and French was fierce. In 1700 it escalated into a full scale war and the armies were dragged into the conflict