You sign up for these offerings once you board the ship. Your navigator will tell you where to go - either guest services or a bar/restaurant & when they are offered.
Also, if you are in a meet group, they may coordinate a mixology class beforehand. In my group, they just needed the participants cabin number and number of participants and the cost would be added to your portfolio on board.