# Preparing The Project For Use With This Plugin

{% hint style="success" %}
If you use both the Steam Leaderboards & Steam Achievements plugin you only need to do this once
{% endhint %}

1. Enable the "OnlineSubsystem", the "OnlineSubsystemUtils" & the "OnlineSubsystemSteam" plugin which are pre-installed in the engine.
2. Edit the DefaultEngine.ini file of your project (X:\…\YourProjectName\Config\DefaultEngine.ini) and insert the following at the end:

{% code fullWidth="false" %}
```ini
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName="GameNetDriver",DriverClassName="OnlineSubsystemSteam.SteamNetDriver",DriverClassNameFallback="OnlineSubsystemUtils.IpNetDriver")

[OnlineSubsystem]
DefaultPlatformService=Steam

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480

[/Script/OnlineSubsystemSteam.SteamNetDriver]
NetConnectionClassName="OnlineSubsystemSteam.SteamNetConnection"
```
{% endcode %}

{% hint style="info" %}
Info: Instead of “480” you should use your own Steam Dev App ID (Can be found next to your game's name in your Steamworks dashboard). <mark style="background-color:orange;">For testing purposes or for developing, you can use “480” though. Just don’t forget that other leaderboards already exist which were created by other developers</mark> :wink:

**Related Link:** Learn more about what each config setting does: [Online Subsytem Steam Documentation](https://docs.unrealengine.com/4.26/en-US/ProgrammingAndScripting/Online/Steam/)
{% endhint %}

3. Restart the engine
4. Start Steam/Let it run in the background
5. Be logged into a Steam account that owns the game (Everyone automatically owns the game with the Dev App ID of 480, it is just hidden)
6. Play in Standalone, Launch, or Package your game. (Doesn’t work in PIE aka. Play in Editor)

