Documentation Index
Fetch the complete documentation index at: https://docs.lucenthq.com/llms.txt
Use this file to discover all available pages before exploring further.
Install with the CLI
Manual setup
Loading without a bundler
If you don’t use a bundler, load the SDK from a CDN with an ESM<script>:
The CDN form is convenient for quick tests but adds a round‑trip on first
page load. For production use, bundle
@lucenthq/sdk into your app.Notes
- Replace
"luc_pk_..."with a real key. Reading it from an env var is your bundler’s job — e.g.process.env.LUCENT_PUBLIC_KEYwith Webpack’sDefinePlugin, orimport.meta.env.VITE_LUCENT_PUBLIC_KEYwith Vite. - For TypeScript projects,
@lucenthq/sdkships its own types — no@types/*package needed. - If you’re using React, Vue, Svelte, or one of the other supported frameworks, use the dedicated framework page instead of this one.