# Open the Steam Service using console command

**URL:** <https://forums.unrealengine.com/t/open-the-steam-service-using-console-command/89872>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [April 13, 2017, 2:35pm UTC](https://forums.unrealengine.com/t/open-the-steam-service-using-console-command/89872 "2017-04-13T14:35:59Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Motanum](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Motanum](https://forums.unrealengine.com/u/Motanum)\
**Post date:** [April 13, 2017, 7:26pm UTC](https://forums.unrealengine.com/t/open-the-steam-service-using-console-command/89872/4 "2017-04-13T19:26:20Z")

</div>

Hi,

So, you basically first step, is to learn how to do add code to your ue4 game.

> **[2 - Create a C++ Class](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/ProgrammingWithCPP/CPPProgrammingQuickStart/2/)**
>
> Creating a C++ class

Once you have that, and the code compile, then you have 2 options. The most simple one, is to create a blueprint Function library.

> **[Blueprint Function Libraries](https://docs.unrealengine.com/4.27/en-US/ProgrammingAndScripting/ProgrammingWithCPP/BlueprintFunctionLibraries/)**
>
> Information about Blueprint Function Libraries for C++ in Unreal Engine.

Learn how to create a simple blue print node. Maybe a int++;, that will take a int variable type, and increment it by 1. What you think can do.

Then, with that, you gotta go ahead and read this guide until the Look at First Step with Steam section. So you get the Steamworks stuff working and running in your game.

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — ue4community.wiki! You will be able to find content from the official...

With that, you just need to include the steam\_api.h in your blueprint library cpp class

```auto

#include "ThirdParty/Steamworks/Steamv132/sdk/public/steam/steam_api.h"

```

So you can make use of the Steam api calls.

With that done, then you can create your own blueprint node. Something like

```auto

UFUNCTION(BlueprintPure, Category = "Steamworks")
bool UYourBlueprintlibrary::ActivateSteamOverlayToURL(FString FullURL) {
	if (SteamUser() != nullptr)
	{
		SteamFriends()->ActivateGameOverlayToWebPage(*FullURL); 
                return true;
	}
        
        //Steam not initialized
	return false;
}

```

---

_[View the full topic](https://forums.unrealengine.com/t/open-the-steam-service-using-console-command/89872)._
