In the Spanish port town of Tarifa, a king dressed in rags appears to a shepherd, telling him the Personal Legend, a sort of quest the universe pushes each individual towards. This sets the shepherd, Santiago, on a cross-continental trek, from Morocco to Egypt, in search of his treasure.