i want to put Roof Lights on my Xterra...

is a 2006 S MOdel..
would i have to have a roof rack to put the roof lights on...
like i want 4 or just 2 lights on top...