Best way is off of the return of your filter using a 'T' to bypass excess flow and a valve to limit the flow to the UV.
Next is an auxiliary pump with the correct flow rate and a pre-filter.
Remember to clean the glass inside atleast monthly (after the first month you'll know how often to clean it . And the lamp gets replaced every 6-8 mo.s