Test out the live demo: https://prebuilt-basic-embed.vercel.app/
This demo embeds Daily Prebuilt, a ready-to-use video chat interface, into a Next.js site. It makes use of Next API routes to create Daily rooms server-side.
You'll need to create a Daily account before using this demo. You'll need your Daily API key, which you can find in your Daily dashboard on the Developers page, if you want to create rooms through the demo UI.
You can also paste an existing Daily room into the input. The room URL should be in this format to be valid: https://domain-name.daily.co/room-name, with daily-domain changed to your domain, and room-name changed to the name of the existing room you would like to use.
- Copy .env.example and change it to an .env.local with your own DAILY_API_KEY and DAILY_DOMAIN
cd basic-embed
- yarn
- yarn workspace @prebuilt/basic-embed dev
Or...