Quick Start¶
Get Prisma AIRS scanning in Cursor in under 5 minutes.
1. Install¶
2. Set Your API Key¶
3. Validate Connectivity¶
You should see a successful scan result confirming your API key and endpoint work.
4. Install Hooks Globally¶
5. Restart Cursor¶
Quit and reopen Cursor. Open Settings > Hooks to confirm both hooks appear:
beforeSubmitPromptafterAgentResponse
6. Test It¶
Send a prompt in Cursor's AI chat. Check the execution log in Settings > Hooks to see the hooks fire.
To test blocking, try a prompt that triggers a detection (e.g., a toxic or injection prompt). If your AIRS profile has enforcement set to "block", you'll see:
With a detailed message explaining what was detected and why.
7. Review Scan Logs¶
Shows scan totals, block rates, latency percentiles, and detection breakdowns.
What's Next?¶
- Configuration -- tune modes, enforcement, and profiles
- Detection Services -- what AIRS scans for
- Architecture -- how the hooks work internally