Read Temperature sensor on button press

Hi I'm using nRF5 SDK for mesh. with DK PCA10040.

I want to read the temperature sensor reading on button press. Please give me guidelines on implementing this.

Thank you.