It was concieved by the un and gets it's marching orders from the un so yes, NATO works for the un.
Question...does an American president go to or get permission or at least discuss with the un possible missions before that mission is launched?
That's certainly not true.