Helping dog adjust to baby

Hi guys! I’m 32 weeks pregnant and have a 2 year old dog that’s about 30/40 pounds. He is such a big baby!! Lol i mean seriously my boyfriend can’t hug me without our dog getting jealous and getting between us for some love. He also sleeps in our bed either right up against one of us or in the middle of us. Obviously when the baby comes things are gonna change a bit. How can i help him adjust without him resenting the baby?