How to open demat

What documents and steps are involved in opening a general demat account?,