After you created a widget, you have to copy the code snippet at the bottom of the widget setting site. Then, go to the settings page of your docs-site, scroll to the section Advanced Styling and paste the code to the field Insert between <head></head>. Save the changes at the end.