The increasing penetration of renewable/distributed sources with non-linear characteristics demands a clear methodology for determining the amount of generation which can be connected to the system without deteriorating the performance (the hosting capacity). This paper proposes a methodology for determining the hosting capacity regarding harmonic distortions. The method includes aggregation effects of harmonic currents, the influence of harmonic distortion limits and harmonic generation profile. To exemplify an application of the proposed procedure, a simple case study is performed and analyzed.