> For the complete documentation index, see [llms.txt](https://siriusnetdocs.gitbook.io/doc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://siriusnetdocs.gitbook.io/doc/sdks-and-apis/games/sdk-documentation/getting-started/configuration.md).

# Configuration

Once you've successfully installed the Siriusnet Blockchain SDK, the next step is to configure it for use in your project. This involves setting up the connection to the Siriusnet Blockchain and providing the necessary API keys.

Here's a step-by-step guide on how to configure:

### Step 1: Import the SDK

First, you need to import the SDK into your project. Depending on the language you're using, this could look something like this:

```python
from siriusnet_sdk import SiriusnetSDK
```

### Step 2: Instantiate the SDK

Next, you need to create an instance of the SDK. This is typically done by calling the constructor and passing in the necessary configuration parameters.

```python
sdk = SiriusnetSDK(api_key='your_api_key')
```

In this example, you need to replace `'your_api_key'` it with your actual API key.

### Step 3: Verify the Configuration

Finally, you should verify that the SDK is correctly configured and can connect to the Siriusnet Blockchain. You can do this by calling a method that interacts with the blockchain and checking that it doesn't throw any errors.

```python
try:
    sdk.get_player_battles('test_player_id')
    print("SDK is correctly configured!")
except Exception as e:
    print("There was a problem with the SDK configuration: ", e)
```

In this example, we're calling the `get_player_battles` method with a test player ID. If the SDK is correctly configured, this should return without throwing any errors.
