Generations of selective breeding for tameness, loyalty, and trainability. You would need biologists, trainers, and possibly genetic editing. The entire project would take decades and maybe only partially achieve it's goal. If you want to Kickstart it, I'm down.
Before you do make a decision, allow me to bring up a point you should consider...
(proceeds to rub all the bellies)