The key to teaching your dog to follow is walking away. If you do your best to lose your dog he will quickly learn that he needs to keep a close eye on you!
DJ caught with her paws in the cookie jar... or her nose in my recycling bag, in this case. Smart dog took the cat food can right to her bed!