Piezo Buzzer - connect to door open/close

I have the Piezo set up on a zone and can press the corresponding button in Smarthings to make it beep.  How do I connect it to the door so that when the door is opened the buzzer goes off?

Simple instructions are found here:  https://docs.konnected.io/security-alarm-system/wiring/door-chime/