Foreign comp Registration process

whats is the process of a Foreign Company who wish to invest in Indian stocks…

the process works starts from SEBI registration, broker a/c opening? where it starts?