My doctor had me do it 2 weeks ago an I had to go on the hospitals website to do it.
Here it's done about 6-8 weeks before your expected delivery date. You just go to the registration area of your hospital and they can direct you. It's just a ton of paperwork to fill out but at least you don't have to worry about it while you are in labor :)
Call your hospital and ask.
I never did lol they just had me sign a few things and they took care of the rest that was after birth when they were getting the name and all that jazz