In NetBeans, go to the Services tab (most likely on the left side of your screen). Right-click "Servers", select "Add Server...". There you can define a Tomcat server.
You can also find information about this on the NetBeans website or in the help of NetBeans.