Skip to content

Add to your Agent

AI agent integration ​

An assistant can help wire the widget and server verification into your project. Review generated changes as carefully as hand-written code. Begin with quick start, configuration, and verification.

1-click agent prompt ​

Copy this text manually and provide the assistant with the guides or their content. Supply approved deployment URLs, not secrets.

text
Integrate Katcha into this project's protected form and server endpoint.
Read the Katcha quick-start, configuration, and verification guides first.
Ask for the deployed widget URL and verification URL if absent.
Use window.katcha, the katcha container class, and the katcha-token form field.
Verification JSON fields are challenge_id, site_key, and secret_key.
Read the secret only on the server from KATCHA_SECRET_KEY.
Never put secrets in browser code, public environment variables, prompts, or logs.
Reject absent tokens, timeouts, malformed responses, and success values other than true.
Retain authentication, authorization, input validation, and CSRF protection.
Test both successful verification and failure paths.
Do not invent package names, hosts, or renamed API paths.

Use Copy integration prompt in the page tools below for a prompt containing this page's Markdown URL and the onboarding URL on the current documentation host. Assistant cards copy the prompt for your project session; they do not launch third-party apps or send documentation automatically.

Supported AI assistants ​

This text workflow is assistant-independent: use Claude Code, Cursor, ChatGPT, OpenCode, or another assistant that can read your project. This does not imply a Katcha extension, partnership, or verified deep-link launch integration.

Security architecture and best practices ​

ValuePlacementReview rule
site_keyBrowser and trusted server configurationPublic identifier, not proof of success
secret_keyServer environment (KATCHA_SECRET_KEY)Never expose in frontend bundles or prompts
katcha-tokenForm submissionMap to challenge_id on the server
Verification URLServer environment (KATCHA_VERIFY_URL)Operator-approved HTTPS endpoint

Keep secrets out of generated code

Use placeholders in prompts and examples. Exclude local secret files from source control. Rotate exposed secrets rather than only deleting the visible copy.

Step-by-step workflow ​

  1. Obtain credentials and deployment URLs from your operator.
  2. Configure KATCHA_SITE_KEY, KATCHA_SECRET_KEY, and KATCHA_VERIFY_URL in the trusted server environment. These names are application conventions, not widget requirements; do not use a framework's public-variable prefix.
  3. Identify the exact form and server action to protect.
  4. Confirm the script serves the renamed Katcha distribution.
  5. Review token mapping and require verification before side effects.
  6. Test absent, expired, and duplicate tokens, network failure, malformed JSON, and success. Use mocks for failures and staging for deployment checks.
  7. Inspect browser bundles to ensure they contain no secret key.

Machine-readable specifications for agents ​

Every published page provides copy actions and raw/download Markdown links on desktop and mobile. If clipboard access is blocked, select and copy the displayed fallback text. These actions do not read secrets or project files.

The legacy skills ZIP has not been approved or regenerated for Katcha and is intentionally unavailable. Do not use legacy onboarding files as Katcha contracts.