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

# Installation & API Keys

## Installation

The RedBrick AI SDK and CLI are available on [PyPI](https://pypi.org/project/redbrick-sdk/) and can be installed using `pip`. The SDK and CLI are packaged together.&#x20;

```bash theme={null}
$ pip install -U redbrick-sdk
```

<Note>
  The SDK and CLI work on Mac, Windows, and Linux.
</Note>

<Warning>
  They are compatible with **python version 3.8+**
</Warning>

## API Keys

In order to use the Python SDK or CLI, you'll first need to generate an API key. To do so:

1. Click on **Integrations** (or use the "i" shortcut)
2. Click on **API Keys** (or use the "2" shortcut)
3. In the top right corner, click on **Create API Key**
4. In the pop-up field, give your API key a name

<Frame caption="The Integrations tab">
  <img src="https://mintcdn.com/redbrickai-c2e4bc62/kyR1SMCBxx3NFyLR/assets/images/python-sdk/integrations.png?fit=max&auto=format&n=kyR1SMCBxx3NFyLR&q=85&s=db31567fd7e5100448c1606d4a9ea551" alt="The Integrations tab" width="403" height="324" data-path="assets/images/python-sdk/integrations.png" />
</Frame>

<Frame caption="The API Keys page">
  <img src="https://mintcdn.com/redbrickai-c2e4bc62/kyR1SMCBxx3NFyLR/assets/images/python-sdk/api-keys.png?fit=max&auto=format&n=kyR1SMCBxx3NFyLR&q=85&s=5a8af5921449fed44ed5382b2989a91d" alt="The API Keys page" width="203" height="139" data-path="assets/images/python-sdk/api-keys.png" />
</Frame>

After you've generated your API key, you can copy it to wherever is necessary - your CLI credentials file, your Python file, etc.

**Please note** that all API keys provide you with the equivalent of [Org Admin permissions](/organizations/what-is-an-organization#organization-level-roles). Be sure to use your API keys with care!

## Organization and Project IDs

For most SDK / CLI operations, you will need your Organization and/or Project ids. These are unique ids for each entity. You can find both the Organization and Project ID inside the **Settings Page of any Project**.&#x20;

You can also find the Organization and Project IDs within the browser URL -> navigate to any project - [https://app.redbrickai.com/\$org\_id/projects/\$project\_id](https://app.redbrickai.com/\$org_id/projects/\$project_id).

<Frame caption="">
  <img src="https://mintcdn.com/redbrickai-c2e4bc62/kyR1SMCBxx3NFyLR/assets/images/python-sdk/settings-page.png?fit=max&auto=format&n=kyR1SMCBxx3NFyLR&q=85&s=24b08e407b4cec29ae30541cccc9832b" alt="" width="3048" height="1194" data-path="assets/images/python-sdk/settings-page.png" />
</Frame>
