I'm not familiar with that particular model Yamaha keyboard but almost all keyboards connect the same to a computer.

Your keyboard needs to have a MIDI IN and a MIDI OUT. These will be connected to your computer's "Joystick" port on your sound card. The joystick port will be located near your audio plugs and will be a 15 pin connector. You'll just need to purchase a certain cable if you don't already have it. These cables can be purchsed in almost any larger well stocked computer store or possibly a Radio Shack. This cable will have a 15 pin connector at one end and 2 midi plugs at the other end. The plug labelled OUT will be connected to the IN on your keyboard and the plug labelled IN will be connected to the OUT on your keyboard. That's all there is to it.

Have fun!