Split the flow into two pages - making the generate url call - now need the updated api