The cord goes across the back of you machine and attaches with little sticky hooks that come with the light. Once installed, you forget the cord is there unless you move your machine around - it does have it's own plug which needs an outlet. I would much rather have one that plugs into an outlet so I don't have to worry about changing batteries or even finding the right battery.