Most nights sell out except Monday and Thursday so yes,
it is necesary to buy tickets.
I am in Granada so I picked the tickets up from
the box office at Teatro Isabel La Católica in the centre of Granada.
But you can get information from this website
Frequently asked questions about Granada