You buy the fob,
Remote Control Keyhead:Porsche Parts & Porsche Accessories - Wholesale Porsche Parts & Tequipment - Cayman Panamera Cayenn.
Then take it to a dealer to program. I paid $125 I think.
Don't buy the fob from eBay unless it has the bar code.
Good luck.