you can do either, but id suggest adding it to the filter, but youll want to modify it so it doesnt get into the tank, it does need light so there will definitely be some modification needed, you can definitely google fluval edge filter refugium mod or aquaclear refugium mod and find some guides. PWCs should be all you need to keep your nitrates down