How do I program a Toyota matrix transponder key?

A Toyota Matrix transponder key is factory programed. At times this programing can fail. It is a quick process for the dealership to reprogram the key. A lost key and transponder will cost approximately $100 to replace depending on model.