Hesiod is the Greek poet whose surviving works first use Pandora’s name in the literary tradition. His Theogony and Works and Days provide the earliest substantial surviving accounts of Pandora’s creation and the jar episode.
The Works and Days gives the fuller narrative. It describes how Zeus arranged Pandora’s creation after Prometheus’s theft of fire and how she became connected with the troubles affecting human life. The Theogony also refers to Pandora, but in a more compressed account.
Homer does not provide the surviving literary version that establishes Pandora’s famous story, and Ovid wrote much later in Latin. Pindar was also a later Greek poet. Because myths circulated orally before being written down, “first used in surviving literature” does not mean Hesiod necessarily invented every element of the story; it identifies the earliest surviving literary witness commonly associated with her name.