Lytica Labs Docs
Everything you need to use Lytica's AI analytics platform and integrate Marli into your own product.
The complete product manual: Marli AI chat, alerts, billing, team management, and step-by-step guides for every integration — ad tech, data warehouses, finance, CRM, storage, and productivity.
Get Marli running inside your product in one afternoon. Covers the iframe, JWT minting, and your first chat message.
Full technical reference: JWT format, keypair generation, backend mint endpoint, frontend SDK, org provisioning, error codes, and CSP.
8 tests to run before pointing real users at your integration. Covers iframe loading, JWT minting, chat round-trips, token refresh, CSP enforcement, and multi-tenant isolation.
How Partner Embedding Works
Embed Marli in your product using a single <iframe>. Your backend mints short-lived JWTs (RS256 or ES256) that identify the end-user. The Marli gateway verifies them against your registered public key and starts an authenticated session. When the token expires, the SDK auto-refreshes it — no user action needed.
Need help?
Technical questions during integration go to your assigned Lytica technical contact. For production incidents, use the emergency contact in your welcome packet.
General support: support@lyticalabs.ai
Enterprise & SSO: enterprise@lyticalabs.ai