How many wires does it have? Are they numbered? Is it a terminal board with jumpers? Does it have thermal protection?
The following is based on the motor having 7 leads (P1, P2, T2, T3, T4, T5, and T8). For 115 volts, connect the hot side of the incoming line to P1. P2, T3, and T5 are tied together; a yellow or orange wirenut will do. T2, T4, T8, and the neutral side of the incoming line are tied together. You'll likely need a yellow wirenut for this.
This will usually give standard rotation, defined as clockwise when you're looking at the back of the motor (with the shaft pointing away). To change rotation, interchange T5 and T8. (P2, T3, and T8 tie together, and T2, T4, T5 tie to the neutral).
The 230 volt connection is; P1 to one incoming line, P2 is not connected, T2, T3, and T5 are connected together, T4, T8, and the other incoming line are tied together. This also gives standard rotation, swap T5 and T8 to reverse.
If your motor does not have 7 numbered leads, write back. One of the other guys might beat me to the answer, that's OK.
Rob