You are going to have to find the 0 and 5 V power... Some of the breakout boards have the 5V power on them and some do not. I have hooked into the computer power supply in the past or testing...
The pins for the A and B channels can be hooked to what you have set on the ports and pins page. There is a tab called "Encoder" where you set the pins.
Hope that helps