Quick Start
Create a public key and embed the Capture SDK in your site.
This guide shows how to create a public key and use it to install the Capture SDK on your website.
Prerequisites
- A Crikket organization
- Admin or owner access to manage public keys
- A website or app origin you control
Create a Public Key
In Crikket, go to Settings -> Public Keys.
Create one public key per owned website or app surface.
Add Allowed Origins
Add the exact HTTP(S) origins where the widget is allowed to run, for example:
https://example.comhttps://www.example.comhttp://localhost:3000
Public keys are safe to embed in client-side code.
Initialize the Widget
Run init() in a browser entrypoint:
import { init } from "@crikket/capture"
init({
key: "crk_your_public_key",
host: "https://api.crikket.io",
})This mounts the floating launcher on your page.
Verify the Integration
Confirm that:
- the launcher appears on your site
- you can open the widget
- screenshot or screen recording capture starts
- the review form can submit successfully
Notes
- Use one public key per website or app surface.
- Include local development origins if you want to test locally.
- Screen capture permission prompts are expected browser behavior.
- If you self-host Crikket, replace
https://api.crikket.iowith your own API origin.