This guide gets Spotlight up and running in SvelteKit with Sentry.
You don’t strictly need Sentry for Spotlight to work, we highly recommend it.
Follow the Sveltekit Getting Started guide on Sentry to install and configure Sentry.
Install the Spotlight package:
Initialize Spotlight after Sentry and start the Sidecar on the server. Just add a little code to your SvelteKit hooks files:
That’s it! Check out the Configuration to further customize Spotlight.