The HAT is designed to sit directly on top of the RPi, so it should just be a case of connecting the pins shown in the diagram to their equivalent locations on the HAT.
For power you want to do the same, you want to connect the 3V3 pin on the Pi (pin 1) to the equivalent location on the HAT. Similarly do the same for one of the GND pins.