You should follow all the requirments of 680.23 of the NEC.

The pool company usually sets the niche in the wall of the pool.Make sure they set the niche at the proper depth...680.23(A)(5)

shortcircuit