2018 CX-5 headlight lens replacement question

Hi everyone. I have CX-5 2018 touring and I cracked my left headlight lens. Everything else is in perfect condition. I already ordered a new lens but I'm wondering, can I take off the headlight from the car, replace the lens and forget it or does it need to be taken to a dealership for something? I don't know if I have adaptive lights but I don't think so. Thanks everyone