How to add nominee in demat account

What are the steps to add a nominee to a demat account across different brokers?