Idealy, youd want to solder an extention to it then wire nut it, but simply wire nutting it would work. Just make sure the extention is the same guage wire.