Keep your dog out of the room for a scent track. Then set a scent trail to a hiding place where you leave the candy. A fragrance trail inside you can expand by rubbing the sweets over the floor, in a continuous line. Keep the track short for the first time, so that your dog can easily identify the meaning of the game. Then let your dog back in and show him the start of the track. Give the command “search”.
As your dog gets better in this game, you can start out longer tracks and you can put the scent in a dotted line instead of in a full line, so you leave a few centimeters of unused space each time.