1. Copy the snippet from your widget's settings page

2. Go to your WordPress admin page and open up Appearance > Theme Editor

3. Paste the snippet into the HTML

Open up the Theme Header file, paste the snippet before the closing </head> tag, and click Update File.