The following is the sequence of steps for setting up an IntelliJ project (copied from Developer Knowledge Base):
Check out detailed documentation here.
We have updated the content on Project Initialization. Follow the link to make sure you have the newest information.