Configure sonar