Can i route the midi out from HALion 5 to Cubase

Can i route the midi out of HALion5 to a midi in of Cubase
I like to record some chords from HAlion 5 and with this midi out i must be able again to replay this new midi track with HALion 5
Is this possible ?
Jan