It can be done by both.
The quick self to do method is shown below, for the full method using a High Scan Unit (only at the dealership) see this
link.
Transmitter Code Registration (using code saving switch)
Note the ETACS unit is in located in the drivers side under the steering wheel. Behind the Passenger Compartment Fuse box.