Sign up on Disqus.com and choose a shortname in order to enable Disqus comments on your website. Please follow Publisher Quick Start Guide and Best practices for staging, development and preview sites.
In Disqus Admin go to Settings, Advanced and make sure that your site domain (machine name in testing environment) is defined in Trusted Domains list.