Skip to content

๐Ÿ“น Zego Settings

Zego provides video and audio communication services, essential for features that require direct interaction such as group calls or live streaming within your application.


Step 1 โ€“ Open Projects Management

Access ZEGO Projects Dashboard

Go to the ZEGO Cloud Console: https://console.zegocloud.com

From the left sidebar menu, click: Projects โ†’ Projects Management

If this is your first time, you will see the message:

"Create your first project, and start your free trial."

Click the + Create button in the top-right corner to create a new project.

โœ… This project will be used to integrate ZEGO Live Streaming services into your application. Zego Projects


Step 2 โ€“ Select Live Streaming Scenario

Choose the Project Type

After clicking + Create, you will be redirected to the Projects Creation page.

From the available scenarios, select:

โœ… Live Streaming

This option is used to build:

  • Interactive live streaming rooms
  • Host and audience broadcasting
  • Scalable real-time streaming
  • Multi-user live sessions

The Live Streaming scenario is suitable for applications that require real-time audio/video room interaction.

After selecting Live Streaming, proceed to the next step to continue project configuration. Zego Scenario


Step 3 โ€“ Choose Integration Method (UIKits)

Select UIKits for Faster Integration

After selecting Live Streaming, you will be prompted to choose the integration method:

  • UIKits
  • Custom SDKs

Select: โœ… Start with UIKits

Why UIKits?

UIKits provides:

  • Pre-built live streaming interface
  • Faster development process
  • Minimal coding requirements
  • Ready-to-use interaction features
  • Reduced implementation time

UIKits is recommended when you want a complete live streaming solution with standard features and quick deployment.

After selecting Start with UIKits, continue to complete the project setup. Zego UIKits


Step 4 โ€“ Return to Projects Management

Open Your Created Project

After completing the project creation process (UIKits + Live Streaming), the system may redirect you to additional setup pages.

However, for our integration, we do not need those steps. Instead:

  1. Go back to the left sidebar menu.
  2. Click Projects โ†’ Projects Management.
  3. Under My Projects, you will see the newly created project listed.
  4. Click on the project name to open it.

โœ… From there, we will access the AppID, AppSign, and Server Secret, which are required for backend and mobile integration. Zego My Projects


Step 5 โ€“ Copy Project Credentials

Access Project Configuration

After opening your project from Projects Management, you will be redirected to the Project Configuration page.

In this section, you will find the required credentials under:

Section Credential
Basic Information AppID
Basic Configurations AppSign
Basic Configurations ServerSecret

These credentials are required to connect:

  • The mobile application to ZEGO services
  • The backend server to ZEGO callbacks

โš ๏ธ Important

Keep these values secure and do not expose them publicly.

Make sure to copy:

  • โœ… AppID
  • โœ… AppSign
  • โœ… ServerSecret

These will be used in the next step inside the Admin Panel configuration. Zego Credentials


Step 6 โ€“ Configure ZEGO in Admin Panel

Zego Admin Settings

Add ZEGO Credentials to the System

After copying the AppID, AppSign, and ServerSecret from the ZEGO Console, open your system's Admin Panel and navigate to:

Settings โ†’ Zego Configuration (or Real-Time Settings)

Enter the following values:

System Field ZEGO Value
Server Secret Paste the ServerSecret from ZEGO
App ID Paste the AppID
App Sign Paste the AppSign

After entering all credentials:

  1. Make sure the ZEGO status is enabled (if required).
  2. Click Save.

โœ… The system is now connected to ZEGO Cloud services.

This allows the application to:

  • Authenticate users
  • Create and manage live streaming rooms
  • Handle real-time audio/video sessions
  • Process server callbacks properly

โš™๏ธ Open Zego Settings


Step 7 โ€“ Configure Server Callbacks

Zego Callbacks

Add Room Event Callback

Inside the Project Configuration page, scroll down to the Callback Setup section and click:

Add Server Callbacks

From the available events, select:

โœ… Room logged out

This event is triggered whenever a user leaves a live streaming room.

Why This Is Required

Enabling Room logged out allows the backend system to:

  • Update room user count
  • Detect when users leave a session
  • Synchronize room status with the server
  • Maintain accurate real-time room data

After selecting the event, click Confirm to activate the callback.

โœ… The server will now receive notifications when users exit live rooms.


Step 8 โ€“ Add Callback URL

Zego Callback URL

Configure the Room Logged Out Endpoint

After selecting Room logged out, return to the Callback Setup section.

You will see a field next to the selected event. In this field, enter your backend endpoint URL that will handle the callback.

Example:

BASE_URL/api/update-room-count-zego

Then click Save.

What This Does

When a user leaves a live streaming room:

  1. ZEGO sends a request to this URL
  2. Your backend receives the event
  3. The system updates the room user count
  4. Room status stays synchronized with real-time activity

โœ… The callback is now successfully configured and connected to your backend system.


Tips:

  • Make sure to obtain the correct App ID and App Sign from the Zego Cloud platform.
  • Activate the Zego buttons in both Audio System Settings and Video System Settings to enable audio and video communication services.
  • Test video/audio communication after configuration to ensure the service works.

Next Step

๐Ÿ”ค Configure Language Settings