Rebecca,
Temps are 85 degrees, or less if you want to slow the process.
Humidity is crucial. I find the upside down cups from Great Lakes Hornworms seem to keep humidty pretty well. If I put them in a tub, many don't molt well and die.
Food is crucial. Although they will eat carrots and bell peppers (I don't use either) there are diets based on the Manduca (sp?) diet, some are good, some don't work. Again, I would refer to GLH.com, great food.
They will pupate in dirt, in a plastic box, on the floor, not too particular, I get about 60% to pupate and hatch to moths, the others just get hard, discolor and die.
Moths (M/F) can be put in a large paper grocery bag, eggs will be fertilized and laid all over the bag, tear the bag up and start your cups over again.
Hope this helps
Nick Barta