The following tutorial will show you how to connect two locations together with an IPSec VPN using pre-shared authentication.
http://www.blindhog.net/cisco-how-to-configure-an-ipsec-vpn/