# UE4

{% hint style="danger" %}
**This generation of SDK is deprecated and is no longer supported.**\
Information about the [current version can be found here](/integration/integration-of-sdk-v2/sdk-integration/unreal-engine.md).
{% endhint %}

Please do the following to integrate your application with devtodev:

1. Add the application to the Space using the wizard for adding application.
2. [Download the latest version of devtodev SDK from the GitHub repository.](https://github.com/devtodev-analytics/unreal-sdk)
3. Go to your project directory and place the plugin content here: ProjectName/Plugins![](/files/-LnlSlqdrnhG72DDxyYG)
4. Restart Unreal Editor and open the plugin menu (Window > Plugins). In the "Analytics" plugin group of your project select DevToDev (and "Blueprint Analytics Framework" in case if you use blueprints). You will be offered to restart Unreal Editor again.\
   ![](/files/-LnlSlqfVQo4t3rAAM8J)
5. Finally, add the following strings into the DefaultEngine.ini configuration file (the file is in "Config" folder of your project):

```
[Analytics]
ProviderModuleName=DevToDev
```

## Project Settings

To get an access to the DevToDev settings, go to **Project Settings > DevToDev**

![](/files/-LnlSlqhHvEpuPil4p-Z)

Get the keys (they can be found in the application settings: Settings -> SDK -> Integration) and insert the keys in this window. Then choose the Enable Push Notifications option in case if you want to send push notifications through devtodev service.

## Initialization

All the events are available in the Analytics block of your Blueprint.

![](/files/-LnlSlqjnRHkbHPujmNn)

To initialize SDK in a blueprint, first call the "Start Session" event from the Analytics Blueprint Library.

![](/files/-LnlSlqlnuQL518ezB08)

or from the following code

```cpp
FAnalytics::Get().GetDefaultConfiguredProvider()->StartSession();
```


---

# 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.devtodev.com/integration/integration-of-sdk/analytics-integration/ue4.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.
