How does IntelliJ integrate with spark?

How does IntelliJ integrate with spark?

Because of its superb Scala code completion, IntelliJ IDEA is the most popular IDE for running Spark applications built in Scala.

In IntelliJ you can create Maven Project with Scala and Spark dependecies added in POM file and also by adding Scala SDK in Project path , thru IntelliJ you can execute Scala /Spark Project