- On the main menu, choose , or click the New Project button in the Welcome screen. Create New Project dialog box opens.
- Create a new project with the Java module, or add a new Java module to an existing project.
- On the Technologies page of the wizard, select the check box Web, and the nested check box Google App Engine.
- In the Google App Engine Settings pane, specify the desired SDK and type of persistence
(JDO
or
JPA
). 
- Click Finish. IntelliJ IDEA produces the specific directory structure, which you can
explore in the Project tool window.
Depending on the selected persistence type, IntelliJ IDEA will:- Generate persistence.xml for JPA, or jdoconfig.xml for JDO.
- Takes the required libraries from AppEngine SDK.
If no persistence is selected, the enhancement step is omitted in the build file. -
Open for editing the appengine-web.xml file that resides under
WEB-INF directory. In the <application> tag,
enter the identifier that you have already defined in the
Create application
page of the Google App Engine.
The application identifier should meet certain requirements:
only lower-case letters, digits, and "-" characters are allowed; the application id should not begin with "-".

