Loading

Report as inappropriate

Depends on your system power supply. For most configurations, it's done like pictured here:
https://4.bp.blogspot.com/-84-8KpcR0vY/U-UAoggAaII/AAAAAAAAEp4/aYj0-6NZ8HY/s1600/CO2LaserRampsHookup.jpg

Connect it in series with the "interlock loop" connections using the normally closed contacts of the switch, where the schematic says "add lid switch".