To get to the Path of the Gods from Sorrento you'll need to take a bus from Sorrento to Amalfi, and then another bus from the town of Amalfi to the start of the trail in the village of Bomerano. Which kind of bus you take will determine how long this trip takes.