There are several different methods in which coffee can be added to a beer. I’ve had great success with two different methods: adding cold pressed coffee at bottling/kegging and dry-hopping with whole coffee beans. It’s important to remember that not just any coffee bean will work with your beer. Trying the base beer to get an idea of what flavors and aromas it has, greatly helps in trying to find a coffee that will either complement it or add enough contrast without being lopsided. I am only going to touch on the methods I have tried. You could also try adding coffee during the boil or during the mash, among many other methods.