What are the steps to open a joint demat account?

Can you explain what are the steps to open a joint demat account? in detail?