Installation

Prerequisites

To get started, you will need the following three requirements:
  • Unity Game or Application
  • Backend Web Server with an accessible API
  • Bolt Merchant Dashboard
To read about how this all comes together with a Node.js web server, you can check out this scenario we’ve put together.

Install the SDK

  • Open your Unity project
  • Navigate to the Packages folder in your project root
  • Open the manifest.json file in a text editor
  • Add the Bolt SDK dependency to the dependencies section:
JSON
{
  "dependencies": {
    "com.bolt.sdk": "https://github.com/BoltApp/bolt-unity-sdk.git#main"
  }
}
  • Save the file - Unity will automatically download and import the package

Option 2: Using Package Manager UI

  • Open Package Manager in Unity (Window > Package Manager)
  • Click the ”+” button in the top-left corner
  • Select “Add package from git URL”
  • Enter the repository URL: https://github.com/BoltApp/bolt-unity-sdk.git
  • Click “Add”