The key signature is set in the sequencer edit/master environment by using the "Edit Start Perf" function.