Set up Login UE4 SDK

To integrate the Login UE4 SDK:

  1. Set up Login in your Publisher Account. You will need a Login ID, found in Login settings > Login ID. It has the UUID format.
  2. Set up the plugin for your UE4 project.

Set up Login in Publisher Account

  1. Go to your project and click Connect in the Login block. You can go to the Login settings from any section of Publisher Account by clicking the Login button in the left-hand-side menu.

  1. Go to Login projects and click Set up Login.

  1. Specify a Login name and click Create.

  1. Go to General settings > URL block and specify the Callback URL that the user is redirected to after the email confirmation or password reset.
  2. Select the Xsolla storage in the User data storage block.

Set up the plugin for your UE4 project

  1. Open your UE project in Unreal Editor.
  2. For Blueprint projects only:
    1. Compile your UE project.
    2. Go to the Content Browser and add a New C++ Class with the None parent node.
  3. Go to Settings > Plugins > Installed > Xsolla Login SDK. Check the Enabled box and click the Restart Now button to save settings and reload the Unreal Editor.
  4. Go to Settings > Project Settings > Plugins > Xsolla Login and specify the Project ID found in Publisher Account > Project settings > Project ID, and the Login ID found in Publisher Account > Login settings > Login ID which has the UUID format.

  1. Go to Content Browser > View Options and check the boxes for Show Engine Content and Show Plugin Content.

  1. Go to Content Browser > Content > Maps and launch the Demo_Login map of the game.

  1. Create a new user and check for the confirmation email.

  1. Log in as a new user and change the password if necessary.

After the integration is complete, you can use the demo map as a template and create your own solution based on it. To do this:

  1. Follow UMG UI documentation to customize the user interface.
  2. Set up events processing.

Note
To modify the SDK for your application specifics, follow the SDK modification instruction.
Was this article helpful?
Thank you!
Is there anything we can improve? Message
We're sorry to hear that
Please explain why this article wasn't helpful to you. Message
Thank you for your feedback!
We'll review your message and use it to help us improve your experience.

Continue reading