The first most step is to choose a depository participant (Also called DP). A depository is an institution or an organization that holds the securities, and the participants are the registered stockbroker agents of that depository.
While choosing a Depository Participant, always select a trustable party whose features match your requirements. In India, Banks, Stockbrokers, and online platforms offer Depository Participant services.