MultiConnectSDK › SDK Apps
2. Set up
Step 1: Create the SDK app
- Open SDK Apps on the dashboard and choose Create SDK app.
- Choose a project, name the app (usually your game's name), and choose how it is hosted:
- a Server deployment on MultiConnectCloud;
- or Custom hosting (my own servers).
- Open the app. The app page shows a card for each feature, and Setup below the cards.
- Copy the SDK key from Setup.
Step 2: Put the key in your game
In Unity:
- Create a folder named
ResourcesunderAssets, if you don't have one. - Inside it, choose Assets > Create > MultiConnect > Settings. Keep the name
MultiConnectSettings. - Paste the SDK key into the asset's Sdk Key field.
Every scene and component then uses this key.
On a .NET server or API:
- set the environment variable
MC_SDK_KEYto the key; - or pass the key to the call that needs it.
A Server deployment on MultiConnectCloud that is linked to the app gets MC_SDK_KEY set for it, so there is nothing to type there.
Step 3: Install MultiConnectSDK
| Where | How |
|---|---|
| Unity | Install the MultiConnectSDK package as the Developer Guide describes |
| .NET server or API | Install the NuGet package MultiConnect.SDK |
Script 2.1: Add MultiConnectSDK to a .NET project
dotnet add package MultiConnect.SDK

