> For the complete documentation index, see [llms.txt](https://mandor-labs.gitbook.io/mandor-labs-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mandor-labs.gitbook.io/mandor-labs-docs/achievement/integration/steamwork.net.md).

# Steamwork.Net

[Steamworks.NET](https://steamworks.github.io/) is a C# Wrapper for Valve’s Steamworks API and is completely free and open source under the permissive MIT license!

{% stepper %}
{% step %}

### Install Steamworks.Net

{% hint style="warning" %}
Please install Steamworks.Net via UPM package
{% endhint %}

<a href="https://steamworks.github.io/installation/" class="button primary" data-icon="down-long-to-line">Install Steamworks.NET</a>

<div data-with-frame="true"><figure><img src="/files/ahyhjwuUncJrlwzQQcDf" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### Setup Steam Manager

After installing plugin you need to write code to initialize steam plugin. You can download [SteamManager](https://raw.githubusercontent.com/rlabrecque/SteamManager/master/SteamManager.cs) from the official [website](https://steamworks.github.io/steammanager/).

Now you need to call API to tell Achievement system that [Steamwork.Net](https://steamworks.github.io/installation/) already initialized. You can modified `SteamManager.cs` you already download.

```csharp
protected virtual void Awake() {
		//rest of the code
		
		s_EverInitialized = true;
		
		//This tell Achievement System that Steamwork.Net already inited
		//And will Sync all local Achievement with Steam Achievement
		AchievementSteam.SetInitialized(true);
	}

```

{% endstep %}

{% step %}

### Setup Achievement Component

This step will guide you to add <mark style="color:$primary;">`Achievement Steam Component`</mark> to handle synchronization for each Achievement.

<div data-with-frame="true"><figure><img src="/files/BzkolHuQMYu8XeiVi0Xk" alt=""><figcaption></figcaption></figure></div>

<table><thead><tr><th width="234">Field</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:$warning;"><strong>API</strong></mark></td><td>Fill this field with Achievement API Name that you already setup in Steamworks website</td></tr><tr><td><mark style="color:$warning;"><strong>Is Progressing</strong></mark></td><td>You can check it if you use Stats</td></tr><tr><td><mark style="color:$warning;"><strong>Stat API</strong></mark></td><td>Fill this field with Stat API Name that you already setup in Steamworks website</td></tr></tbody></table>

You can find Stats & Achievement API in this tab on Steamwork website.

<div data-with-frame="true"><figure><img src="/files/bMkqeXmcyVGLXeNaoebs" alt=""><figcaption></figcaption></figure></div>

You're all set! Your integration is complete.
{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://mandor-labs.gitbook.io/mandor-labs-docs/achievement/integration/steamwork.net.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
