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

# Authentication

> You will need an API Key and Organization to use the API/SDK.

## Parea API Key

First, you'll need a Parea API key. To create an API key, visit the [Settings](https://app.parea.ai/settings) page.

If you have not created an organization, you will be asked to create one first.
To facilitate easy collaboration, everyone in your organization can access shared models, prompts, API keys, and all other data on the platform.

<img src="https://mintcdn.com/pareaai/cxAhBMLitjWj5gEW/api-reference/org-first.png?fit=max&auto=format&n=cxAhBMLitjWj5gEW&q=85&s=05e7d331f5178b3c784c3a62e5c31af4" alt="org-first" width="1472" height="290" data-path="api-reference/org-first.png" />

Everyone in your organization will use the same Parea API key to authenticate requests to the API.

<img src="https://mintcdn.com/pareaai/cxAhBMLitjWj5gEW/api-reference/api-key.png?fit=max&auto=format&n=cxAhBMLitjWj5gEW&q=85&s=788282d1f36539df52c98bb77fdc9f53" alt="api-key" width="1472" height="290" data-path="api-reference/api-key.png" />

<Note>We do not display your secret API keys again after you generate them, so copy and store them securely!</Note>

## Provider API Keys

When using the Parea platform you will need to provide API keys for the model providers you wish to use.
Parea supports the most popular model providers, but if you do not see the model you need, let us know and we can quickly add it.

You will have the option of providing keys at the `Personal` or `Organization` level. If you provide at the organization
level then you and anyone in your organization will have access to these models, and will not need their own personal keys.

<img src="https://mintcdn.com/pareaai/cxAhBMLitjWj5gEW/api-reference/provider-keys.png?fit=max&auto=format&n=cxAhBMLitjWj5gEW&q=85&s=d54442f0b68f8f5a5fc6eca75a25656b" alt="provider-keys" width="1833" height="654" data-path="api-reference/provider-keys.png" />

<Tip>
  Provider API keys will be available in the SDK as well.
  When using the SDK to make LLM calls, you will only need to provide the model name and
  Parea will automatically use the saved provider API keys.
  This saves you from manually setting API keys in your code for all model providers.
</Tip>

## Authentication

To authenticate via the API you should pass in an API key via the Authorization header if using `curl` or through the Parea constructor if using of our SDKs.

```python python theme={null}
from parea import Parea
p = Parea(api_key='<API_KEY>')
```

```typescript typescript theme={null}
import {Parea} from "parea-ai";
const p = new Parea("PAREA_API_KEY");
```

```bash curl theme={null}
'x-api-key: $PAREA_API_KEY'
```
