Coding Agent Script Installation
Check out a quick video walk through here:
Step 1: Install the Dynamic Script in your project settings, at the top of the body tag

Step 2: Install the Stylesheet
Stylesheets compile all CSS in files that you set to be global. CSS files that you set to be only triggered on a certain page will be rendered via the dynamic script. (This can cause a bit of a delay/flicker since the javascript has to render before it can load the css, so we’d recommend setting any important css files to global).
Option 1: In a Global Component at the top of every page
This will allow the css to render inside the designer and in preview mode. This also allows you to easily toggle between Staging & Production sheets without having to publish in Webflow.



Option 2: In the Head of your project settings

Important Info:
- Stylesheets compile all CSS in files that you set to be global. CSS files that you set to be only triggered on a certain page will be rendered via the dynamic script. (This can cause a bit of a delay/flicker since the javascript has to render before it can load the css, so we’d recommend setting any important css files to global).
- Do not add both Production and Staging Stylesheets at the same time as that can cause issues. Switch out the stylesheets as needed, or for a better experience, create a global component that has both stylesheets inside it with visibility prop attached to each one so you can easily toggle which stylesheet you want to use.
Step 3: Control what pages scripts & styles are loaded on
Go to your file settings, and then select the pages you want the script to load on. All CSS files that are set to be global will render via the stylesheet, and those that are set to a specific page will render via the dynamic script - which can cause a bit of flicker if your css is at the top of a page. We recommend settting all important CSS files to global.

