> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sutro.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting Up

> Getting started with our Python SDK.

# Python SDK

The Python SDK provides a Pythonic way to interact with the API. In many prototyping scenarios, you may find it most convenient to use the Python SDK and CLI to interact with Sutro.

See the [installation](/installation) guide to install the SDK.

## Basic Methods

### Setting your API key

When you initialize the SDK, you can set your API key by calling the `set_api_key` method. Additionally, you can set your API key by running the `sutro login` command in the CLI.

```Python theme={null}
set_api_key(self, api_key: str)
```

Set the API key for the Sutro API.

>

**Parameters:**\
`api_key` (str): The API key to set.

>

**Returns:** None
