Connection STM Nucleo expansion module to STM 32 NUCLEO
These boards are essentially like the shields for the Arduino. You plug it into the Nucleo by inserting the pins into the inner female headers of the nucleo. It will only fit one way so won't be too hard to fit. 

Make sure you have a pinout diagram handy!