Look at your switches. They have a green grounding screw, and three other screws...one on one side of the switch, two on the other side of the switch.
In general, the power (hot) comes in to the box containing switch #1 and connects to the single screw on the side of switch #1. Two outbound "traveler" wires (both hot) are connected to the two screws on the other side of switch #1, and travel through the wall to the box containing switch #2. The travelers connect to the two screws on the side of switch #2. The hot wire out to the fixture is connected to the lone screw on the other side of switch #2.
Remember that in residential electrical, hot wires are indicated by using red or black wire. Neutral is white. Ground is green, or bare copper. If you use 10-2 or 12-2 for the travelers (a typical pair of white and black wire), you will be using a white wire as a hot lead. Use a black permanent marker to color the last few inches of the white insulation on the wire black.
3-ways are actually quite simple. Know what you're doing before you do it. Bad electrical can kill you, or even worse...someone else.
Do not use push-in connectors on the backs of the switches. Wrap the wire around the screw terminals. If you use the push-in connectors, stop what you're doing and get someone else to do the work for you.