Hi. If you have 2 keys for the car you can do it yourself, if however like me and only had 1 original key then it's off to the dealer or a local indy. My local indy did it for me for £25 and it only took 5mins.
ive got a key from a barrel i purchased for my old s type. identical key to what i have now. just need to put a battery in it. i will search for the self programming again. i found it on the old forum somewhere