Integrating Overview
Learn how the cside script works and how you can integrate it into your website.
Getting Started
To integrate cside into your website, you'll need to:
- Add your domain - Set up your domain in the cside dashboard
- Choose an integration method - Select the method that fits your tech stack
- Install the script - Follow the guide for your chosen integration method
Setting Up Your Domain
Before you can integrate the script, you need to add and configure your domain in the cside dashboard.
If you're new to cside, start with the onboarding process:
Choosing an Integration Method
cside offers multiple integration methods depending on your tech stack:
| Method | Best For | Guide |
|---|---|---|
| CLI Tool | Static sites (SSG), build-time integration | CLI Integration |
| Manual Script Tag | SSR applications, custom setups, any framework | Adding our script |
| Next.js Package | Next.js applications (App Router or Pages Router) | Next.js Integration |
| Vite Plugin | Vite-based applications (React, Vue, Svelte, etc.) | Vite Integration |
| Salesforce Lightning | Salesforce Lightning applications | Salesforce Lightning |
| Scan Mode | Monitoring without routing scripts through Gatekeeper | Scan Mode Setup |
Integration Guides
Once you've chosen your integration method, follow the detailed guide:
- CLI Integration - For static sites using the CLI tool
- Adding our script - Manual script installation for any framework
- Next.js Integration - Using the
@cside.dev/nextpackage - Vite Integration - Using the
@cside.dev/viteplugin - Salesforce Lightning - Salesforce-specific integration
- Scan Mode Setup - Monitoring mode without routing through Gatekeeper
Additional Resources
- Adjusting CSP - Content Security Policy configuration
How is this doc?