Start with the experience that explains how the chocolate is made if the process is what brought you here. Other activities give the outing a different pace, so check what is available before deciding how much time to allow. Give the visit a separate slot if you are also headed to Hersheypark. Entry and scheduling can differ between the attractions.
National Civil War Museum
Give this Harrisburg museum time for individual objects and stories, then decide separately whether to spend a day on the Gettysburg battlefield.