I would recommend plumbing the tank and using a sump, or turning it into an AIO. For a 40 gallon tank, I would use the 9001 instead of the 9004.
Thanks. I already bought it and did some research and the 9004 seems to work with the 40. I want to keep it simple. No sump. Don't have the space