Skip to main content

Quickstart

Before Getting Started

Before you start integrating Dyte into your application, make sure you've read the Getting Started with Dyte topic and completed the steps in the Integrate Dyte section.

Get the roomName for the meeting and the participant's authToken from our backend APIs (read more about our server APIs here), and pass them as params to Dyte's Meeting class.

You can initialize a meeting on your JS enabled web page, like below.

<div id="root"></div>
<script>
const client = new DyteClient({ clientId: 'orgId|clientId' });

const meeting = client.Meeting({
roomName: '<roomName>',
authToken: '<authToken>',
});

meeting.init('root');
</script>
caution

If you're new to this SDK, we recommend you check out the UI Kit SDK or the React UI Kit depending on your needs