The Spirit Dream Warrior was summoned by Finn and Huntress Wizard in the episode "Flute Spell". He appears after Finn and Huntress Wizard play a flute/ocarina duet in the forest and shares an unknown past with Huntress Wizard.
He then goes on to appear in the Fionna & Cake episode "The Crocodile Who Bit A Log" where in a flashback sequence he is seen training Huntress Wizard to become a Green Wizard, and guiding her to The Heart of the Forest.