---
title: Using our Python SDK | PostGrid
description: Get started with the PostGrid Python SDK — installation, API key configuration, and links to endpoint examples for print and mail operations.
---

A convenient way to access all of the PostGrid Print & Mail API features in one Python library.

## Getting Started

Before using any of the API features, you’ll first want to install the [PostGrid Python SDK](https://github.com/postgrid/postgrid-python) by running:

```
pip install --upgrade postgrid-python
```

Next, you’ll want to import the PostGrid Python library into your application and define your API key. You can find your API key under settings on the [PostGrid dashboard](https://dashboard.postgrid.com).

```
import postgrid


postgrid.pm_key = 'YOUR_API_KEY_HERE'
```

## Next Steps

After setting everything up, you’ll be able to start using the PostGrid Print & Mail API features.

View the [API docs](/api/index.md) for information about each of the PostGrid Print & Mail API endpoints and some Python examples.

**Note that all of the parameters used in the Python SDK are in`snake_case`, whereas the parameters for the Node SDK are in `camelCase`.**
