After creating a widget, copy the code snippet from the bottom of the widget settings page. Next, navigate to your Docs-site settings, scroll to the Advanced Styling section, and paste the code into the Insert between <head></head> field. Finally, save your changes.