As part of learning how to set up a sewing machine, you want to read through the safety instructions and instruction manual.
On the side or back of the machine is a place to put in one end of your foot pedal power supply, and the other end plugs into an electrical outlet.