What are the legal steps an individual should follow to work from India in a project of a foreign company which does not have branch in India and getting paid from that foreign company?

What taxes that individual needs to pay for such income?