# Older versions

If you have an old version of the SDK, you can configure the SDK through C++ or Blueprint. In later versions of the SDK (V1.0.1 and later) you must configure the SDK in the Project Settings Plugins menu.

## **Configure the SDK in C++ (SDK V1.0.0)**

Login to the LootLocker Web Console by visiting the [Web Console](https://console.lootlocker.com/) and navigate to the Game Settings menu in order to copy the API Key.

In Unreal Engine, open the `LootLockerConfig.CPP` file located in the Plugins folder.

Modify the following information:

* **API Key** is found in Game Settings in the LootLocker Web Console.
* **Game Version** refers to the current version of the game in the format 1.2.3.4 (the 3 and 4 being optional but recommended).
* **Platform** is the name of the platform the game will be built for (e.g Steam, PSN, Android, iOS).
* **On Development Mode** lets you test your unpublished changes in the LootLocker Management Console `Development` environment (instead of `Live`).
* **Allow Token Refresh** can be selected so that the SDK automatically attempts to refresh the session token if it expires. Otherwise the session token needs to be renewed manually.

Click on "Set as Default" to the top right. Click "Yes" to all popups that follow.

You should now have access to the SDK in both your C++ and Blueprint projects.

## **Configure the SDK in Blueprint (SDK V1.0.0)**

{% hint style="warning" %}
It is important that the LootLocker configurations are set up in the first Blueprint class in your project.
{% endhint %}

Login to the LootLocker Web Console by visiting [console.lootlocker.com](https://console.lootlocker.com) and navigate to the Game Settings menu in order to copy the API Key.

In Unreal Engine, right click within the Event Graph of your Blueprint class, locate and select the `LootLocker Settings` category, and select `Set LootLocker Settings` in that category.

Modify the following information:

* **API Key** is found in Game Settings in the LootLocker Web Console.
* **Game Version** refers to the current version of the game in the format 1.2.3.4 (the 3 and 4 being optional but recommended).
* **Platform** is the name of the platform the game will be built for (e.g Steam, PSN, Android, iOS).
* **On Development Mode** lets you test your unpublished changes in the LootLocker Management Console `Development` environment (instead of `Live`).
* **Allow Token Refresh** can be selected so that the SDK automatically attempts to refresh the session token if it expires. Otherwise the session token needs to be renewed manually.

You have now configured the LootLocker SDK through Blueprint.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lootlocker.com/the-basics/unreal-quick-start/download-the-lootlocker-sdk/older-versions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
