What to do!

I am currently five weeks pregnant and my sister is due in four weeks time. She wants me to get a whooping cough vaccine before her baby comes which I totally get, but I'm not sure you can the vaccine this early on in pregnancy? I don't live with them and won't be seeing the baby all that much in the first six weeks anyway besides on Christmas Day and maybe in the hospital. Thoughts?