You can use an extension cord, just get a quality one and I would suggest you aim for overkill. Buy a 12gauge cord even if using on a 15amp circuit.
Do not get carried away with length either.
I leave a 25foot 12gauge in my car, haven't used it often but also never regret having it.