How to get a demat account in india

What is the process to open a new demat account in India as a resident?,