Getting Started with Lumitra
The fastest way to integrate Lumitra's AI voice assistant is by dropping one script tag into your application. No extra setup, no complicated configuration. Your users can start talking with AI in less than 5 minutes.
1Add One Script Tag
Copy-paste this into your HTML (inside <head>
or near the bottom of <body>
):
<script src="https://voice.lumitra.io/v1.2/lumitra-voice-assistant.js" data-app-id="YOUR_APP_ID" data-show-button="true" ></script>
Important: Replace YOUR_APP_ID
with your actual Lumitra App ID from your dashboard. The data-show-button="true"
attribute creates a floating "Talk to AI" button in the bottom-right corner of your page.
2Customize Your AI Assistant (Optional)
Enhance your voice assistant with additional parameters. These data attributes control the AI model, voice style, instructions, and more:
Voice & Personality
data-voice="alloy"
- Choose voice styledata-instructions="..."
- Set AI persona
AI Engine Settings
data-model="gpt-4"
- Select AI modeldata-temperature="0.7"
- Set creativity level
<script src="https://voice.lumitra.io/v1.2/lumitra-voice-assistant.js" data-app-id="YOUR_APP_ID" data-show-button="true" data-instructions="You are a helpful product specialist for our company." data-voice="shimmer" data-model="gpt-4" data-temperature="0.6" data-position="bottom-right" ></script>
3Try It Out
Once the script loads, a "Talk to AI" button appears in the corner of your website. When users click it:
- 1Browser requests microphone access
The user must allow mic permission to proceed
- 2Assistant panel opens
Ready for voice conversation with AI
- 3Real-time voice conversation begins
User speaks, AI responds with voice and text
Talk to AI
Click to start conversation
That's it! Your website now has an AI voice assistant. No backend services, hosting, or complex integration required on your end.
Going Further with Lumitra
Advanced Integration Options
Need custom UI elements, programmatic control, or deep integration with your application? Our comprehensive SDK and API provide advanced capabilities.
Additional Resources
- Example Projects - Complete demos with source code
- Customization Guide - Tailoring the assistant to your needs
- Support Center - Get help with your implementation