Qlab and midi to trigger cues in element

I would like to set up my element to receive cues from Q lab. We would like to build a light show that is triggered by  A piece of recorded music. We are starting from scratch and have not even purchased a midi interface. can someone suggest if he's ability of doing this and which interface we might need to purchase. I will be running to lab on a Mac mini.