# Installation

This guide helps you install the required tools, clone the official SDK project, and open it in Visual Studio Code (VS Code) for development.

### Prerequisites

Before you begin, make sure you have the following installed and set up:

* You have a **GitHub account** to access the official repository and releases.
* **.NET SDK**
  * Version: .NET 9.0 or higher recommended
  * Verify installation:

    ```bash
    dotnet --version
    ```
* **Code Editor**
  * [Visual Studio Code](https://code.visualstudio.com/) is recommended, but you can use any editor you prefer.

{% stepper %}
{% step %}

### Download the SDK Release

<figure><img src="/files/LPakZ7S7qB1zk81leFal" alt=""><figcaption></figcaption></figure>

Download [**OddsFeedSDKCore\_3.6.0.tar.gz**](https://github.com/sportradar/UnifiedOddsSdkNetCore/releases) from the **Releases** asset page. This was the latest version at the time of writing. Ensure you always download the most recent release.
{% endstep %}

{% step %}

### Extract the Package

Unpack the downloaded `.tar.gz` file to a folder of your choice. This will give you access to the SDK files you need for setup.
{% endstep %}

{% step %}

### Open in VS Code

* Open the cloned folder in **VS Code**.
* Install the **C# Dev Kit** extension from the VS Code Marketplace.
  * This ensures proper support for `.sln` (solution) files.
    {% endstep %}

{% step %}

### Explore the SDK

<figure><img src="/files/vd7lPKFmUDlD927aHt6L" alt=""><figcaption></figcaption></figure>

* In VS Code, open the **Solution Explorer**.
* Expand the **`Sportradar.OddsFeed.SDK`** folder to browse the project structure and codebase.
* Find and open the **`App.config`** file. Inside, you’ll see a configuration section like this:

```xml
<uofSdkSection 
    accessToken="" 
    defaultLanguage="en" 
    nodeId="1" 
    environment="GlobalIntegration" />

```

{% endstep %}
{% endstepper %}

**Configuration Details**

| Atrribute       | Required | Description                                                                                                                                                    |
| --------------- | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| accessToken     | Yes      | Used for authenticating with the broker and the Sports API.                                                                                                    |
| defaultLanguage | Yes      | Defines the primary language for SDK data (e.g., `en`).                                                                                                        |
| nodeId          | Yes      | Specifies the node identifier for this SDK instance.                                                                                                           |
| environment     | Optional | Indicates which Unified Feed environment the SDK connects to. Accepted values come from the `SdkEnvironment` enum. If not set, the default is **Integration**. |

#### Environment Values

* **GlobalIntegration** – for testing and development
* **GlobalProduction** – for live production environments


---

# 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.sportradar.com/uof/sdk/languages/.net/installation.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.
