# Steam

{% hint style="danger" %}
This functionality is currently only available to Enterprise customers.
{% endhint %}

{% hint style="info" %}
This functionality is currently only available on Windows.
{% endhint %}

Our platform can be integrated with Steam, allowing players to join your worlds and events directly from the Steam client.

To do this, you'll need the following:

* To be partnered with Steam, and have access to [your organisation's Steamworks' backend](https://partner.steamgames.com).
* Have configured a **Publicly Accessible Live World** in your organisation's dashboard
* Access to our template web application
* Assistance from the Named Engineer assigned to your project.

## Steamworks configuration

1. If you haven't yet, create a [Depot in Steamworks](https://partner.steamgames.com/doc/store/application/depots) which has been configured for **Windows / 64-bit only**.
2. In the **Installation** tab, go to **Launch Options** and set them as follows:
   1. Executable: `bin/M2LauncherSteam.exe`
   2. Arguments: `-OrganizationId=<your_org_id> -ProjectId=<your_project_id> -WorldId=<your_world_id>` (remove the < > when setting this value)

      1. **IMPORTANT:** ensure you've set up a live world as shown above. If you want to bypass this flow and point directly to a world, please speak to your named engineer for further support.

      <figure><img src="/files/UQrQlAcbOtHtBcAX56Ok" alt=""><figcaption></figcaption></figure>
3. In the **Security** tab, go to **SDK auth** and generate an **Encrypted App Ticket Key**. You can also find your project's id next to the name of your application in Steamworks. Store both these values safely as you will need to configure these in your web application:
   1. If you are using our template app, simply add 2 new environment variables to your Vercel deployment:
      1. **STEAM\_APP\_ID**
      2. **STEAM\_ENCRYPTION\_KEY**
   2. These values are required to support linking of a user's steam ID to their user ID on Morpheus Platform. Examples of how to do this are provided in the example template web app.
4. Reach out to your Named Engineer and tell them you're working on the Steam integration.
   1. Ask them for the latest **M2 Launcher (Steam version)**.
5. Once you have been given the **M2 Launcher (Steam version)**, upload it to the Steam depot you've created in step 1.
6. Under **Installation -> Redistributables**, ensure you have the following options ticked:
   1. DiirectX: June 2010
   2. Visual C++ Redist: 2022 (also includes 2019, 2017, 2015)
7. Your Name Engineer will coordinate with you to create an authentication page for your organization. This will require access to our [template web app repository](https://github.com/msquared-io/morpheus-platform-example-app).


---

# 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.otherside.xyz/platform-documentation/creation/running-events/player-entry/steam.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.
