Someone went thru a lot of trouble figuring how to best extract the flavor of the bean. IMHO the best is to rely on that technical knowledge so I use a coffee pot to extract the coffee and add the coffee to my beer when I use coffee.
Lots of brewers have success adding coffee at a variety of points in the brewing process.
It is really your choice.
Fred