Get started
Integrating with Xsolla servers is suitable for partners who want a ready-made server solution for monetization and in-game items management.
After integration of Xsolla SDKs, you can use:
- Xsolla Login for authenticating users and managing the friend system and user account
- In-Game Store for creating an in-game store and player’s inventory
- Player Inventory for managing player’s inventory in your application
- Xsolla Pay Station for setting up payments
With this integration, all operations are processed on the Xsolla side and you do not have to configure your own server side for these tasks.
Choose and install one of the following assets depending on your needs:
- Store Unity SDK — contains all the necessary methods to integrate all Xsolla products listed above.
- Login Unity SDK — designed to implement only the functions of the Xsolla Login.
- Inventory Unity SDK — designed to implement functions of the Xsolla Login and the Player Inventory. Use this asset if your application is published on a platform that cannot use the Xsolla Pay Station and In-Game Store for some reason.
Requirements
System requirements
- 64-bit OS
- Windows 7 SP1 and higher
- macOS 10.12 and higher
- A compatible version of Unity:
- 2018.4.30f1
- 2019.3.4f1
Target OS
- iOS
- Android
- macOS
- Windows 64-bit
Features
Login Unity SDK features
The Login Unity SDK is used to integrate applications based on Unity with Xsolla Login. Main features:- authentication via username and password
- authentication via social networks
- authentication via Facebook and Google apps on Android devices
- authentication via Steam session_ticket
- signup
- email confirmation
- password reset
- user attributes management
- cross-platform account linking
- token invalidation
- OAuth 2.0 support
- friend system
- user account
Inventory Unity SDK features
The Inventory Unity SDK is used to integrate applications based on Unity with the Xsolla Login and Player Inventory. The Inventory Unity SDK supports all Login Unity SDK features and additionally the following features:- managing user inventory
- managing virtual currency balance
- working with coupons
- managing cross-platform inventory
Store Unity SDK features
The Store Unity SDK is used to integrate applications based on Unity with the following Xsolla products:Store Unity SDK supports all Login Unity SDK features and additionally the following features:- selling virtual items
- selling virtual currency
- managing in-game store
- working with promotional campaigns (discounts, coupons, promo codes)
Legal compliance
Privacy policy
If you use the SDK, add the Xsolla Privacy Policy Agreement link to your application. You can see the example of this link in the demo project on the sign up page.

Charge policy
Xsolla offers the necessary tools to help you build and grow your gaming business, including personalized support at every stage. The terms of payment are determined by the contract that can be signed via Publisher Account.
The cost of using all Xsolla products is 5% of the amount you receive for the sale of the game and in-game goods via the Xsolla Pay Station. If you do not use the Xsolla Pay Station in your application, but use other products, contact your Account Manager to clarify the terms and conditions.
Prerequisites
Before integrating Unity SDKs, follow these steps:
- Install the asset.
- Set up the project in your Publisher Account.
Install the asset
- Download Unity.
- Pick a personal or professional Unity license based on your preferences.
- Create a new Unity project.
- Download one of the assets:
- Store Unity SDK. You can download it from the Unity Asset Store or GitHub.
- Login Unity SDK. You can download it from the Unity Asset Store or GitHub.
- Inventory Unity SDK. You can download it from the Unity Asset Store or GitHub.
- Add a
Xsollus demo scene in build settings:- Go to
Assets > Xsolla > DemoCommon > Scene and launch theXsollus scene. - Open
File > Build settings and clickAdd Open Scenes .
- Go to

- Make sure that the
Mono compiler is used for creating a game build (optional):- Click
Edit > Project Settings in the main menu. - Go to
Other Settings > Configuration block. - Make sure that
Mono is chosen in theScripting Backend field.
- Click

After installing the asset, launch the
Set up the project in your Publisher Account
- Register an Xsolla Publisher Account.
- Configure a Publisher Account project that is automatically created after the previous step:
- Click
My game in the Projects block and go to Project settings. - In setup mode, specify a Project name and click Save.
- Click

- Go to Integration settings and check that the Integrate
Commerce API toggle is set to On.
During the integration process, you will need the following parameters:
- Project ID found in Project settings > Project ID.

- Login ID found in Login settings > Login ID. It has the UUID format.

Demo
To demonstrate the functionality of integration with Xsolla servers, we provide the
For the demo scene, a project in Publisher Account is preset and an in-game store is fully configured. When you launch the
Default values for the
Key | Value |
---|---|
Login ID | 026201e3-7e40-11ea-a85b-42010aa80004 |
Project ID | 77640 |