# Setting Steam Api Key

### To get a Steam API key, you can follow these steps:

1. The first step is to go to the [Steam Developer portal](https://steamcommunity.com/dev), If your steam account is not open in the browser; Click on the "Go to Registration page" button at the bottom left of the page and either create an account or log in with an existing one.&#x20;
2. After logging in, you can type localhost in the domain section where the api key will be used.
3. Follow all the steps correctly and you will have your Api Key!

### Integrating your api key into your server

1. Enter the server.cfg of your Fivem server.
2. Paste the following code into the field where you set the license key of your server.
3. And replace yourApiKey with your Steam Api key.

`set steam_webApiKey "yourApiKey"`

## Finally, restart your server to activate your api key!


---

# 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.ak4y.com/information/setting-steam-api-key.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.
