am based in India Marrying an H1B visa holder- how do apply for H4 visa? possible before marriag

Hi am going to get married to an H1B visa holder in November who also is applying for his green card? what is the process I follow now ? Can I apply for H4 before marriage? Where do I apply for H4?