We revisit the existence problem of heteroclinic connections in RN associated with Hamiltonian systems involving potentials W:RN→R having several global minima. Under very mild assumptions on W we present a simple variational approach to first find geodesics minimizing length of curves joining any two of the potential wells, where length is computed with respect to a degenerate metric having conformal factor W. Then we show that when such a minimizing geodesic avoids passing through other wells of the potential at intermediate times, it gives rise to a heteroclinic connection between the two wells. This work improves upon the approach of this http URL in Vector-valued local minimizers of nonconvexvariational problems, and represents a more geometric alternative to the approaches for finding such connections described, for example, by N.D. Alikakos and this http URL in On the connection problem for potentials withseveral global minima, by S.V. Bolotin in Libration motions of natural dynamical systems, by J. Byeon, P. Montecchiari, and P. Rabinowitz in A double well potentialsystem, and by P. Rabinowitz in Homoclinic and heteroclinic orbits for a class of Hamiltoniansystems.