# 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="https://1868790214-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1KlIQPveu0EGYCTI8DL1%2Fuploads%2FaKZ3gvGpfxay58NsbFQW%2FScreenshot%202025-09-17%20at%2011.16.15.png?alt=media&#x26;token=de157a65-f98a-46de-9ace-795a01e486da" 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="https://1868790214-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F1KlIQPveu0EGYCTI8DL1%2Fuploads%2FPl7iu7Z8UAf9HzEJ6pWU%2Fannotely_image%20(34).png?alt=media&#x26;token=a5986820-e65a-4cfc-a7f3-889c2f91289b" 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
