Let cream cheese get to room temperature. Add milk and salt. Beat until smooth, about 4 minutes. Add onion.