Flu shot and early pregnancy??

Hello I’m 4w5d and I have to get a flu shot for my job. Is this okay to get so early in pregnancy?