# 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.


---

# 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://siriusnetdocs.gitbook.io/doc/sdks-and-apis/games/sdk-documentation/getting-started/configuration.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.
