Integration Overview
To implement the Discord Social SDK, developers for all platforms will generally follow these steps:
- Import the SDK
- Initialize the SDK:
- Create a
Clientinstance. - Set up event listeners to monitor SDK events and callbacks
- Create a
- Authenticate users with flexible account options
- Create and manage provisional accounts for users who don't have or want a Discord account (
Client::GetProvisionalToken). - Link an existing Discord account via OAuth (
Client::Authorize).
- Create and manage provisional accounts for users who don't have or want a Discord account (
- Implement social features
- Implement unified friends list and relationships.
- Use rich presence for game activity updates.
- Set up lobbies for multiplayer interaction and game invites.
- Manage direct message, linked channels, and voice communication.
- Handle events & API calls:
- Listen for changes in friend lists, presence updates, and chat messages.
- Use Discord's APIs to update statuses, send messages, and manage connections.
This guide is a conceptual overview. If you're ready to start building, follow our step-by-step guide to set up the SDK in your game engine.
Next Steps
Section titled “Next Steps”Check platform compatibility, explore communication features, and start your integration:
Platform Compatibility
See supported platforms and download information.
Communication Features
Learn about messaging, voice chat, and in-game lobbies.
Getting Started
Choose your platform and follow step-by-step setup instructions.
Change Log
Section titled “Change Log”| Date | Changes |
|---|---|
| July 21, 2025 | initial release |