What is the process for pledging shares for margin?

What are the steps and eligibility criteria for pledging shares to avail margin from brokers?,