Miralax during pregnancy

I am 33 weeks pregnant is it safe to take miralax? If so how much did you take?