You can purchase a key blank, but will still need the dealer to cut the blank.
Porsche Genuine key blank for 997 987 Boxster Cayman | eBay
If the fob is already programmed to the car your in great shape..
It cost me $336 at a dealer to get a new fob with already cut key programmed to the car. $175 for 1 hour labor.