Help with push-button wiring

The current project I'm working on involves a 3d pen. The button to extrude must be held down to extrude the PLA or ABS. I'd like it so I can push a button, or insert a wire or something and have the extruder continue to extrude, without being held down. Attached are pictures of the button I'd like to wire, and the my current breadboard/ uno wiring setup.

TL;DR I need to make a button so it doesn't need to be held down to work.

Look in the examples in the IDE for the state change detection example. It shows how to dectect the change in state versus the level.

Program the button input as a toggle function.

If button is pressed and flag not true
Turn relay on
Set flag to true

Else

Turn relay off
Set flag to false

Weedpharma

I'm familiar with how to code it, I just need a way to "hot-wire" the button, if you will. I'm having trouble because it's already soldered to the chip in the 3d pen.

Solder two wires on to the board across the contacts. Then connect these to a relay.

Weedpharma