title: Configure Kotlin to an existing project in IntelliJ
body: <p>I created a kotlin new Kotlin project through intelliJ (<a href="https://github.com/dhananjay12/kotlin/tree/master/kotlin-basic" rel="noreferrer">https://github.com/dhananjay12/kotlin/tree/master/kotlin-basic</a>) a while back. I then imported it into IntelliJ from a different machine. </p>
  
  <p>There is no run option coming :
  <a href="https://i.stack.imgur.com/jGhDf.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jGhDf.png" alt="enter image description here"></a></p>
  
  <p>I tried to configure using Project SDK and Libraries, still, IntelliJ doesn't recognize it as a kotlin project.
  <a href="https://i.stack.imgur.com/ktoW1.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ktoW1.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/6lpfH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6lpfH.png" alt="enter image description here"></a></p>
  
  <p>NOTE- New project works completely fine</p>
  
  <p>How do I configure an existing project to Kotlin?</p>
  
  <p>What files need to be saved in git so that manually configuring IDE is not required?</p>