Add a Santa Voice Agent to Your React App in Minutes
- Published
ListenListen to this article
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:
- Create a Santa Agent in the ElevenLabs dashboard
- Wire it up in a React component using WebRTC
- Add a simple “Call Santa” button
1. Sign up and open the Agents Platform
- Sign up / log in to ElevenLabs.
- In the left sidebar, open the platform switcher at the top.
- Choose Agents Platform.
You should see a sidebar, with Agents, Knowledge Base, Tools, and Voices under the “Build” section.
2. Create your Santa Agent
Next we’ll create an agent that behaves like Santa and speaks with a Santa voice.
- In the sidebar, click Agents.
- Click + New Agent.
- Choose Blank Agent to start from scratch.
Name it: Santa.
System prompt
In the System Prompt field, paste the following:
First message
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.
Voice
In the Voice section:
- Choose “Jerry B. – Santa Claus”
- Voice ID:
MDLAMJ0jxkpYkjXbmG4t
Now Santa will actually sound like Santa.
Security
For this example, we’ll keep it open:
- Under Security, make sure Enable authentication is off.
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.
3. Grab your Agent ID
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:
4. Install the React SDK
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.
5. Add the "Call Santa" button
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:
6. Try it out
Open it in your browser and click Start Call:
- Your browser will ask for microphone permission.
- A WebRTC session starts with your Santa Agent.
- You’ll hear:
“Ho, ho, ho! Merry Christmas, my friend. Tell me, what is your name?”
From there, Santa will ask for your name, wishlist, and what you’ve done this year to stay on the Nice List.
Where to go next
Once the basics work, you can:
- Gate Santa behind auth using the Agent’s Security settings
- Switch languages by passing user locale and letting the prompt handle it
- Skin the UI with custom buttons, animations, or a full “Call Santa” screen
But the core integration is just:
- One Agent in the Agents Platform
- One
agentId - A
useConversationhook and a button
That’s all you need to bring real-time, conversational Santa magic into your React app.


.webp&w=3840&q=80)
.webp&w=3840&q=80)
