MultiConnectMultiConnectDocs Website home
MultiConnectSDK › SDK Apps

2. Set up

Step 1: Create the SDK app

  1. Open SDK Apps on the dashboard and choose Create SDK app.
  2. 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).
  3. Open the app. The app page shows a card for each feature, and Setup below the cards.
  4. Copy the SDK key from Setup.

Step 2: Put the key in your game

In Unity:

  1. Create a folder named Resources under Assets, if you don't have one.
  2. Inside it, choose Assets > Create > MultiConnect > Settings. Keep the name MultiConnectSettings.
  3. 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:

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