Skip to main content

Integrate Dyte

This topic provides a simple guide to integrating Dyte's Live Video into your app, enabling you to add high-quality real-time communication features.

The following diagram illustrates the steps involved and demonstrates the interaction between Dyte's backend and frontend during the integration process.

Diagram explaining how Dyte works

Step 1: Register in the Developer Portal

To get started with Dyte, you must first register in the Developer portal.

Step 2: Get your API Keys

Copy the API Keys for your organization from the Developer portal. The API Key is unique to your organization and is required to use Dyte REST APIs such as when instantiating a meeting.

API keyAPI key

Step 3: Create Presets

A preset is a set of permissions and UI configurations that would be applied to a participant. For more information, see Add Presets.

  1. In the Developer Portal, click Presets, and click Create New.

    Create presetCreate preset
  2. In the Select Meeting Type, select Group Call.Create presetCreate preset
  3. Set permissions and UI configurations.

  4. Once you’ve made all the changes that you need to add to your preset, click Save at the right-corner.

    preset-save
  5. Enter the name for your preset and click Save.

Step 4: Create a Meeting

Create a Dyte meeting using the Create Meeting API. This API returns a unique identifier for your meeting.

Step 5: Add Participants

After you've created the meeting, add participants to the meeting using the Add Participant API.

The preset created in the previous step must be passed in the body of the Add Participant API request. Specify the name of the preset in the preset_name parameter.

This API returns the authentication token that is required to initialize your frontend SDKs.

Dyte meetings do not have a date or time associated with them, so you can create them in advance or just when users need to join the meeting. The idea is that your backend controls when to distribute authentication token and thus you can share the tokens with the users at the scheduled time.

Next Step

Initialize Your Frontend