Auto lights requires quite a lot of work including a new windscreen, auto light switch and a few other parts.
The car just needs coded using vagcom to enable the lights when locking/unlocking. You also need to connect a wire from light module to ce module. They are referred to as coming home and leaving home lights, there's a few guides on here showing how to do it