What is the best way to tie a UR-10E emergency stop into an external DC power supply?

What is the best way to tie an emergency stop into an external DC power supply? I have an additional power supply that runs with no interaction to my UR-10E but I want it to be shut off when I press the Emergency Stop. Originally, I was going to tie a relay into the safety pins. Is there a better way to do this?

Relay is the way to go. Use the configurable output to drive the relay coil and the power supply will run through the contacts