I assume you already have an account on Disqus.com
1. Setup your site on disqus.com. This is your live site, don’t create localhost as a site there.
2. Follow instructions and copy paste the snippets into your pages.
3. Run your app at your local using FireFox (IE8 for some reason didn’t show this message), and it’ll show that it didn’t work correctly and asks your to go visit http://wiki.disqus.net/JSEmbed/
4. On this page you’ll learn that you need to insert the following snippet into your <head>.
5. Finally just test everything out by posting some comments, everything should work now.