Partner Documentation
Marli Integration Docs
Everything you need to embed Marli into your product. The integration is a single iframe authenticated by short-lived JWTs — roughly one afternoon of engineering work.
Quick Start
~3 min readGet Marli running in your product in one afternoon. A single-page walkthrough covering the iframe, JWT minting, and your first chat message.
Integration Guide
~14 min readComplete technical reference: JWT format, keypair generation, backend mint endpoint, frontend SDK, customer org provisioning, error codes, and CSP configuration.
Pre-Launch Production Checklist
~6 min read8 tests to run before pointing real users at your integration. Covers iframe loading, JWT minting, chat round-trips, expiry refresh, CSP enforcement, and multi-tenant isolation.
How It Works
Mount <MarliWidget> in your product. It renders an iframe pointing at our embed URL.
Your backend signs short-lived JWTs (RS256/ES256). Our gateway verifies them against your registered public key.
The iframe sends requests to our gateway with the JWT. When it expires, the SDK auto-refreshes — no user action needed.
Need help?
Technical questions during integration go to your assigned LyticaLabs technical contact. For production incidents, use the emergency contact in your welcome packet. The apps/cp-test directory in the monorepo contains a complete worked-example partner integration you can reference.