You should be able to copy/paste the code in diverse points in Wordpress. For instance, you can past it in a page or blog post, if you go to the "text/html" version. You'll just need to paste and save. You can also insert it inside a WordPress widget: just use the "text" widget and paste the code inside.
Of course you can also insert it in the template file.