For configure tomcat in intellij IDE you need to download tomcat server from following URL
https://tomcat.apache.org/download-90.cgi
Install Smart Tomcat plugin to intellij IDE
Go to edit configurations section and configure your project.
Steps are given in this video