Use an AI coding assistant to add cside
Language

Add cside with AI

Use Claude Code or another AI coding assistant to add cside to your project.

Use an AI coding assistant to add cside

If you use Claude Code, Cursor, or another AI coding assistant, paste the prompt below. It detects your framework, installs the right package, and adds the script.

Prompt

Copy this and paste it into your AI coding assistant:

Fetch https://docs.cside.com/ai-setup-cside.md and follow the instructions to add cside to this project. Replace REPLACE_WITH_YOUR_DOMAIN with my actual domain.
Replace your domain

Check that REPLACE_WITH_YOUR_DOMAIN was swapped for your actual domain from the cside dashboard. The manual script tag method doesn’t need a domain.

This works in Claude Code, Cursor, Windsurf, GitHub Copilot, or any AI coding assistant that can fetch URLs and edit your project files.

After the prompt runs

The assistant will:

  1. Detect your framework (Next.js, Vite, static site, Salesforce Lightning, or plain HTML)
  2. Install any needed packages
  3. Add the cside script in the right place
  4. Update your CSP if you have one

Visit your site, then check the cside dashboard for script traffic. You should see data within seconds.

Next steps

Was this page helpful?