5-Minute Quick Start
Go from zero to monitoring your website's third-party scripts in under 5 minutes. Create an account, add your domain, deploy the script, and verify.
Get cside running on your website in 5 minutes. By the end of this guide, you’ll have real-time visibility into every third-party script loading in your visitors’ browsers.
What you’ll need
- A website you want to protect
- Access to your site’s HTML or build process
Quick start
Create your account
Go to dash.cside.com/auth/signup and sign up. Verify your email with the 6-character code sent to your inbox.
Choose your plan:
| Plan | Price | Best for |
|---|---|---|
| Free | $0/mo | Testing and small sites (up to 2,000 page views/mo) |
| Business | From $99/mo | Production sites needing threat blocking |
| Enterprise | Custom | High-traffic sites, SSO, dedicated support |
Add your domain
In the dashboard, click Add Domain and enter your domain (e.g., example.com). Domains are wildcarded by default, so www.example.com and shop.example.com are automatically included.
Choose your protection method:
- Script Method (badged Best): Monitors scripts in the browser and fetches them server-side for verification. No latency added.
- Scan Method (badged Fastest and Enterprise): Crawler-based analysis with no code changes. Enterprise only.
Start with Script Method. See Onboarding for details on each method.
Add the cside script
Choose the method that matches your stack:
Add this as the first script in your <head>:
<script src="https://[your-team-id].csidetm.com/client.js" referrerpolicy="origin"></script>npm install @cside.dev/nextApp Router (layout.tsx):
import { CSideScript } from '@cside.dev/next';
export default function Layout({ children }) {
return (
<>
<CSideScript teamId="[your-team-id]" />
{children}
</>
);
}Pages Router (_document.tsx):
import { CSideScript } from '@cside.dev/next';
export default function Document() {
return (
<Html>
<Head>
<CSideScript teamId="[your-team-id]" />
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}Add to your build script in package.json:
{
"scripts": {
"build": "your-build-command && npx @cside.dev/cli@latest --team-id [your-team-id]"
}
}The CLI takes no positional arguments; pass your team ID with --team-id. It injects the cside monitoring script into your HTML files and works with Astro, Gatsby, Hugo, Eleventy, Docusaurus, and any framework that outputs static HTML.
npm install @cside.dev/vite// vite.config.ts
import cside from '@cside.dev/vite';
export default defineConfig({
plugins: [cside({ teamId: '[your-team-id]' })],
});GTM does not guarantee script load order, so other scripts may execute before cside can intercept them. For production, use direct script installation to ensure cside loads first.
- In Google Tag Manager, go to Tags > New, click Tag Configuration, and select Custom HTML
- Paste the snippet below into the HTML field (replace
[your-team-id]with the team ID shown under Team Settings > General) - Under Triggering, select All Pages
- Save the tag and publish your GTM container
<script type="text/javascript" src="https://[your-team-id].csidetm.com/client.js" referrerpolicy="origin"></script>If you use Claude Code, Cursor, or another AI coding assistant, it can add cside for you. See the full prompt on the AI assistant page, or paste this into your terminal:
Add cside client-side security monitoring to this project. Install the
right package for the framework (@cside.dev/next for Next.js,
@cside.dev/vite for Vite, @cside.dev/cli for static sites) or add
<script src="https://[your-team-id].csidetm.com/client.js" referrerpolicy="origin"></script>
as the first script in the <head> for any other setup. Then check if the
project has a Content Security Policy (in HTTP headers, meta tags,
helmet.js, next.config.js, or hosting config). If the CSP has explicit
script-src or connect-src directives listing specific domains, add
*.csidetm.com to both. If the CSP uses broad rules like
"default-src https:", no changes are needed.Verify
- Visit your website
- In the dashboard, open Health in the left sidebar. Script traffic appears within seconds. Your domain list, and the Add Domain button, live on the team Home page and under Team Settings > Domains
You’re protected
Once the script is live, cside will:
- Monitor every third-party script loaded in your visitors’ browsers
- Detect malicious or suspicious script behavior in real time
- Alert you when threats are found (configure notifications for email, Slack, Jira, Linear, or webhooks)
- Block threats: script blocking by domain, URL, or IP is available on the Business plan and above. Free teams receive alerts only
Next steps
- Adjust your CSP: Configure Content Security Policy to work with cside
- Set up notifications: Get alerts via email, Slack, Jira, Linear, S3, or webhooks
- PCI DSS compliance: See how cside helps meet PCI DSS 4.0 Requirements 6.4.3 and 11.6.1
- Test on staging first: Try cside on a staging environment before going to production
Thanks for your feedback!