SDKsWeb
Overview
Install and use the official MotiSig web SDK via a hosted script tag.
Official MotiSig AI client for websites (TypeScript, script tag).
Before you install
- SDK key and project ID from Settings → API Keys (kind SDK).
- Allowed web domain for each origin where the SDK runs — configure under Settings → API Keys → SDK → Allowed web domains (for example
https://app.example.com, orhttp://localhost:3000for local dev). Browser Client API calls are blocked until at least one domain is saved. See Allowed web domains.
Install
<script
src="https://motisig.ai/cdn/web/v1/motisig.js"
data-sdk-key="YOUR_SDK_KEY"
data-project-id="YOUR_PROJECT_ID"
async
></script>The script auto-initializes from data-* attributes and exposes window.motisig.
Guides
- Getting started — initialization and lifecycle
- Configuration — keys, allowed web domains, base URL, anonymous id
- User and profile —
identify,updateUser,getUser - Auth integration — sign-in / sign-up / sign-out
- Events, tags, and attributes
- Anonymous visitor id