Select the function in the toolbar, go to the map, click on the points that will be part of the route.