
Introducing the ElevenLabs × Lovable integration
- Category
- Developer
- Date
Build a real-time Santa Claus AI voice agent in your React app using ElevenLabs. Follow this quick step-by-step guide to create a festive, fully interactive holiday voice experience with WebRTC and the ElevenLabs Agents Platform.
This holiday season, add Santa to your app.
With ElevenLabs Agents Platform and the @elevenlabs/react SDK, you can drop a Santa Claus voice agent into your React app in just a few minutes. In this guide we’ll:
You should see a sidebar, with Agents, Knowledge Base, Tools, and Voices under the “Build” section.
Next we’ll create an agent that behaves like Santa and speaks with a Santa voice.
Name it: Santa.
In the System Prompt field, paste the following:
Set First Message to:
Ho, ho, ho! Merry Christmas, my friend. Tell me, what is your name?
This is what users will hear when the call starts.
In the Voice section:
MDLAMJ0jxkpYkjXbmG4tNow Santa will actually sound like Santa.
For this example, we’ll keep it open:
For your first demo, it’s perfectly fine to leave Enable Authentication turned off so anyone can connect to the Agent without restrictions. This makes onboarding faster and is ideal for quick prototypes, hackathon projects, or internal showcases.
However, for any production or externally accessible application, you should never leave your Agent open. Instead, use the ElevenLabs Token Endpoint to generate short-lived, scoped access tokens for each user session. This ensures you maintain full control over who can connect, how long access lasts, and what actions the user is allowed to take. Enabling authentication protects your Agent from unauthorized calls, abuse, or usage outside your intended limits — and is strongly recommended before going live.
At the top of the Agent page, you’ll see an Agent ID field.
Make note of this value — we’ll paste it into our React component in a later step:
In your React / Next.js project, install the ElevenLabs React SDK:
With that in place, we can use the useConversation hook to start and stop voice calls.
Create a new component, e.g. CallSantaButton.tsx, and paste this code:
Now replace "<AGENT_ID>" with the actual Agent ID you copied from the dashboard.
Then render the button somewhere in your UI, for example:
Open it in your browser and click Start Call:
From there, Santa will ask for your name, wishlist, and what you’ve done this year to stay on the Nice List.
Once the basics work, you can:
But the core integration is just:
agentIduseConversation hook and a buttonThat’s all you need to bring real-time, conversational Santa magic into your React app.



