 <p>In the basic example you need to include the ZeroClipboard.js script. I added:</p> <pre><code>&lt;script src="ZeroClipboard.js"&gt;&lt;/script&gt; </code></pre> <p>to the html head section. Then - which was not so clear for me either - the main.js script needs to be added after the button. I didn't reference the file (which isn't in the package as far as I could tell), but included the script directly - this way:</p> <pre><code>&lt;button id="copy-button" data-clipboard-text="Copy Me!" title="Click to copy me."&gt;Copy to Clipboard&lt;/button&gt; &lt;script type="text/javascript"&gt; var client = new ZeroClipboard( document.getElementById("copy-button") ); client.on( "ready", function( readyEvent ) { // alert( "ZeroClipboard SWF is ready!" ); client.on( "aftercopy", function( event ) { // `this` === `client` // `event.target` === the element that was clicked event.target.style.display = "none"; alert("Copied text to clipboard: " + event.data["text/plain"] ); } ); } ); &lt;/script&gt; </code></pre> <p>Hope this helps somebody (more than one year on I gues you have either solved it or moved on!!)</p>