Loosen the retaining bracket from above with a screwdriver and pull the direction indicator forward. For clarity, the figure shows the removed direction indicator.
Turn the bulb socket to the left and pull it out.
Installation
Insert bulb holder and lock by turning to the right.
Insert the direction indicator from the front into the opening in the body and insert the headlight. Move the direction indicator back and click into the lock.