Skip to main content

Connect to the Lobby service

Last updated on October 24, 2024

Overview

The Lobby service is a component under the Play service which acts as the main hub for your player activity. This service provides a continuous connection between your players and also acts as the entry point for the game client to interact with the Friends and Presence services.

This How-to will walk you through connecting your game to the AccelByte Gaming Services (AGS) Lobby service using AccelByte OSS (OSS), Unreal Engine, and Unity.

Prerequisite

  • Access to the AGS Admin Portal.
  • If you're using Unreal Engine or Unity, you must have installed the AccelByte Unreal or Unity SDK. This includes credentials for your game client:
    • Client ID
    • Client Secret

Connect your game to the Lobby service

To connect your game to the Lobby service, follow the SDK installation steps for your game engine.

AccelByte::FRegistry::Lobby.Connect();

What's next?

After you have connected your game to the Lobby service, your game lobby is created. Configure the settings for your game's lobby in the AGS Admin Portal. See Configure the Lobby service.