short version:

1) RB's MIDI output goes to the KORG's MIDI IN

2) Korg's audio out gets patched back to your audio interface

3) Use that audio input to record the KORG in realtime, just as you would record your guitar playing in real time

4) repeat with other tracks, same way