Homework: Connect Logic to the Casio PX330 GM player

My Casio PX330 has a full GM player inside. I should learn how to connect Logic Pro X or MainStage and play MIDI files/songs.

I will need to use the PX330 manual and the Logic Pro X / MainStage manuals as well.