Fully customise Your Agent with the React SDK – useConversation Hook Tutorial
Go beyond the widget with a fully customised React integration. This video introduces the ElevenLabs React SDK and demonstrates how to install the @elevenlabs/react package, import the useConversation hook and start a session. The React hook manages connection and audio usage for your agent. You’ll see how to handle microphone access, set up WebRTC with benefits like packet‑loss management and echo cancellation, and insert your agent ID to initiate conversations.
New to conversational AI Agents? Get started here:
Build your first agent → https://youtu.be/fnivYSh0Cqk
Twilio telephony integration → https://youtu.be/1_ebl-acp6M
Embed the widget on your site → https://youtu.be/XweA70b45Ws
Chapters:
00:00 – Introduction: why developers use the React SDK.
00:20 – Overview of the SDK & useConversation: a React hook for managing connection and audio.
00:40 – Installing the library: using npm/yarn/pnpm.
01:00 – Initialising a conversation: importing the hook and calling useConversation().
01:20 – WebRTC & microphone access: enabling audio and explaining benefits.
01:45 – Providing your agent ID: copying the ID from the dashboard and inserting it.
02:20 – Testing the “Talk to us” button: starting a session and speaking with the agent.
03:00 – Recap & next steps: further customization, callback handlers and security considerations.
Watch the rest of the series:
Add server tools & webhooks → https://youtu.be/pB33QxKN8P8
Security & authentication → https://youtu.be/8hZ4IWL7iqw
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from ElevenLabs · ElevenLabs · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
AI Multilingual TTS Demo | ElevenLabs
ElevenLabs
Professional Voice Cloning Demo | ElevenLabs
ElevenLabs
Introducing: Projects
ElevenLabs
ElevenLabs Dubbing Studio
ElevenLabs
ElevenLabs Speech to Speech
ElevenLabs
Sound Effects are Coming Soon to ElevenLabs
ElevenLabs
It Started to Sing
ElevenLabs
It Started to Sing (Jazz)
ElevenLabs
Broke my Heart
ElevenLabs
My Love
ElevenLabs
ElevenLabs Dubbing API
ElevenLabs
ElevenLabs Audio Native
ElevenLabs
Increasing reader engagement with Audio Native [June 2024 Webinar]
ElevenLabs
ElevenLabs Text to Sound Effects API Demo
ElevenLabs
ElevenLabs Voiceover Studio
ElevenLabs
ElevenLabs Speech to Speech Tutorial
ElevenLabs
ElevenLabs Voice Isolator API Demo
ElevenLabs
ElevenLabs Turbo v2.5
ElevenLabs
ElevenLabs Reader App - Android
ElevenLabs
ElevenLabs Impact Program
ElevenLabs
We’ve reduced our pricing.
ElevenLabs
Sound Effects Explore
ElevenLabs
Behind the Voice - Michael Marshall
ElevenLabs
X to Voice
ElevenLabs
Huberman Labs now Dubbing with ElevenLabs
ElevenLabs
GenFM, Now Playing on ElevenReader: Smart Podcasts Produced by Generative AI
ElevenLabs
Introducing ElevenLabs Conversational Agents
ElevenLabs
Meet Flash
ElevenLabs
Transforming media production with AI sound effects & dubbing
ElevenLabs
ElevenLabs Conversational AI Webinar
ElevenLabs
ElevenLabs - Text to Speech, Dubbing, Sound Effects and more
ElevenLabs
Talk to Santa
ElevenLabs
Year in Review with special guest TIME's CTO Burhan Hamid
ElevenLabs
Conversational AI Voice Agents that can issue refunds
ElevenLabs
Prenez une longueur d'avance avec ElevenLabs
ElevenLabs
Studio is now available to everyone, with new features (walkthrough)
ElevenLabs
Build Conversational AI agents with Gemini 2.0 Flash
ElevenLabs
Meet Alexis & El – Support Agents Handling 4,000 Calls a Day
ElevenLabs
Transform your Speech with ElevenLabs Voice Changer
ElevenLabs
Personalize conversational AI phone calls with Twilio
ElevenLabs
Spotify is now accepting Audiobooks Narrated by ElevenLabs
ElevenLabs
Build Outbound AI Sales Agents
ElevenLabs
Meet Scribe
ElevenLabs
Build a multilingual speech transcription bot with the ElevenLabs transcriber API
ElevenLabs
Streaming and Caching Speech with Supabase
ElevenLabs
Meet GibberLink, Conversational AI's secret language
ElevenLabs
Building a Personal AI Receptionist
ElevenLabs
Cross-platform AI Voice Agents with Expo React Native
ElevenLabs
Automatic Language Detection for Conversational AI
ElevenLabs
Native Retrieval-Augmented Generation (RAG) in Conversational AI
ElevenLabs
Text to Bark from ElevenLabs
ElevenLabs
Meet KUBI the Conversational Robot Barista
ElevenLabs
Introducing the ElevenLabs MCP server
ElevenLabs
Collect and analyze data with Conversational AI
ElevenLabs
Agent Transfer - Conversational AI
ElevenLabs
Sound Effects are now available in Studio
ElevenLabs
How to Make your Professional Voice Clone.
ElevenLabs
Get unique AI Voiceovers in CapCut
ElevenLabs
Transfer to human - Conversational AI
ElevenLabs
Use HeyGen Avatar IV to Make AI Movie Characters
ElevenLabs
More on: AI Pair Programming
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Wie oft sollte man einen Text vor Abgabe prüfen?
Dev.to AI
How to Keep Humanity in the Writing of a Technical World
Medium · Machine Learning
How copywriters attract leads right now: Proven 10x plays (not 2x tactics)
Copyhackers
The authority book move that separates you from every copywriter with a ChatGPT account
Copyhackers
Chapters (8)
Introduction: why developers use the React SDK.
0:20
Overview of the SDK & useConversation: a React hook for managing connection an
0:40
Installing the library: using npm/yarn/pnpm.
1:00
Initialising a conversation: importing the hook and calling useConversation().
1:20
WebRTC & microphone access: enabling audio and explaining benefits.
1:45
Providing your agent ID: copying the ID from the dashboard and inserting it.
2:20
Testing the “Talk to us” button: starting a session and speaking with the agen
3:00
Recap & next steps: further customization, callback handlers and security cons
🎓
Tutor Explanation
DeepCamp AI