# Steam API Setup

## Steam API Setup

Shows admin's Steam avatar and username.

### Step 1: Get API Key

Visit:

```
https://steamcommunity.com/dev/apikey
```

Sign in and generate a key.

### Step 2: Add to server.cfg

```cfg
set steam_webApiKey "YOUR_STEAM_API_KEY"
```

### Step 3: Restart

Restart server. Avatar appears in sidebar.

### Notes

* Cached for 1 hour
* Server-side only (never exposed to client)
* Fallback to FiveM name if Steam not linked


---

# 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://elena-scripts.gitbook.io/elenascripts/core-systems/ban-menu/steam-api-setup.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.
