How do you program a key for 2001 highlander?

The key contains a micro-chip that must be "flashed" - you can't do it yourself. It must be done by the dealer (expensive) or a licensed locksmith (only slightly cheaper)