1. Install the `@stainless-api/docs` plugin in your Starlight project 2. Install `react`, `react-dom`, and `@astrojs/react` 3. In your Astro config:
1. Install the @stainless-api/docs plugin in your Starlight project
2. Install react, react-dom, and @astrojs/react
3. In your Astro config:
```
import { stainlessStarlight } from "@stainless-api/docs";
4. Run pnpm astro:sync` to generate astro types