Adds route to generate SP metadata