The East India Company was founded in England in 1599 and soon began building trading warehouses in India.
East India Company - Trading Warehouse
At ths time, India was not a united country. 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.
Thank you for allowing us to trade in your state.
At the same time, the French had their own EIC. Competition between the British and the French was fierce. In 1700 it escalated into a full-scale war and the armies were dragged into the conflict.