2006 kia rio

I went to an auto parts store to do a diagnostic on why my check engine light was on. The guy said it wasn’t going to work cause it uses the cigarette lighter. My cigarette lighter doesn’t work and he did check the fuses in the car. Any ideas I can get the diagnostic scan to work?