Was ancient India Hindu-only?

It was a land of Intellectual Freedom. India hosted Buddhists, Jains, Atheists, and Ajivikas. “Hinduism” was the umbrella that protected the right to think differently.