Access
Connect cross-platform accounts & identity management
You can use our Unity SDK to implement AccelByte services into your game. The SDK acts as a bridge between your game and our services.
Download Unity SDKIn this tutorial, you will learn how to download and install the AccelByte Unity SDK, as well as set up your AccelByte Config file.
Alternatively, you can create a file called AccelByteSDKConfig.json in your Assets/Resources folder and fill it with the appropriate information in the following format:
{
"Namespace": "<GAME_CLIENT_NAMESPACE>",
"UsePlayerPrefs": true,
"EnableDebugLog": false,
"DebugLogFilter": "Log",
"BaseUrl": "https://demo.accelbyte.io",
"ClientId": "<GAME_CLIENT_ID>",
"ClientSecret": "<GAME_CLIENT_SECRET>",
"RedirectUri": "http://127.0.0.1",
"AppId": "<GAME_APP_ID>",
"PublisherNamespace": "<PUBLISHER_NAMESPACE>"
}
You can find your ClientID, Secret, and Namespace settings in the AccelByte Admin Portal.
{
"Namespace": "<PUBLISHER_NAMESPACE>",
"BaseUrl": "https://demo.accelbyte.io",
"ClientId": "<GAME_SERVER_CLIENT_ID>",
"ClientSecret": "<GAME_SERVER_CLIENT_SECRET>",
"RedirectUri": "http://127.0.0.1"
}
You can find your ClientID, ClientSecret, and Namespace settings in the AccelByte Admin Portal. Contact support or your Account Manager if you are unsure of your API URLs.
Now that you have the SDK installed in your project, you will need to configure your project settings in order for the SDK to work on your project’s build standalone.
Congratulations! You have successfully configured the SDK for use in Unity.
Proceed to the next section to learn how to implement the Login IAM (opens new window).