# Astro Guide ## As a script tag Add the script tag to your root layout. Refer to the [CDN Guide](https://github.com/aidenybai/react-scan/blob/main/docs/installation/cdn.md) for the available URLs. ```astro ``` If you want react-scan to also run in production, use the react-scan/all-environments import path ```diff - import { scan } from "react-scan"; + import { scan } from "react-scan/all-environments"; ```