You need a few items,
OLD CORD< Heavy duty PC power cord would work or old Electrical Appliance cord that has 3 conductors.)
Cord should be White, (on neutral post, larger of the two flat terminals in Molded Plug)
Green should be (Round Ground Post)
Black will be to the (smaller of the two flat plug terminals.)
===
Take a small section of the cord cut it off and wire it into a BOX with a standard 3 prong outlet. Black to HOT, White to Neutral and Green to the box outlet ground.
Take that Foot Switch, and use the BLACK wire from the end of the PC/HD molded 3 wire plug. Wire that to the :Normally Open: terminal on the Foot Switch.
Take the free end of the OTHER cut off drop cord that is in the Plug/Outlet Box. Wire the Black to the :Common: of the Foot Switch.
Take the White and Green wires inside the Foot Switch and wire them together, there MAY BE a Green Ground inside the Foot Switch (case ground) that you need to wire a small section of green wire into the case and tie them all (greens) together.
The there should be 2 whites tied together with a taped over wire nut.
Be sure to test the switch and verify it works prior to buttoning it all up. put a Meter on OHMS and test between the small flat post to the small flat in the outlet, when switch is made the meter should confirm it.
TAPE up the switch contacts inside the foot switch in case water is spilled or coolant on it to slow electrical issues...
Mark