Realization of Heisenberg models of spin systems with polar molecules in pendular states.