If the Spartan fits in the cabinet, I would just run the cord for the pedal down thru to the bottom and the plug for the machine leave it so it can be plugged on top into the wall socket. Otherwise it won't work, because as Joe says you have two set ups there. The spartan is a nice little machine. I have one but no cabinet to put it in. sews really nice too.