"getting in bed with" is a phrase used to say join or work with someone, not necessarily meaning to sleep with them.