It’s pretty simple. The following picture shows a 20pin ATX connector.
What you have to do is short circuit the 14th (Green) and 15th (Black) pins using a wire as follows.

In 24 pin connector you can short circuit the 16th (Green) and 17th (Black) pins to turn on.