When all your forms are ready, select File, New..., and click Internet Application to start the Internet Application Wizard. Choose Server Program to generate the CGI.