Can you get baby on Medicaid before they are born?

Or do I have to call and set it up after? I myself am not on Medicaid.