How do you make connections to your students without sharing your experiences?

I’ve been told not to share things about my personal life with my students. But how do you make connections to your students without sharing your experiences?