Create an Organization by clicking your profile avatar in the top left corner of the sidebar and selecting “Create Organization”. Get an API Key by going to the API Keys tab under Settings and clicking “Create new API key” under the Parea API Key section. Anyone in your organization can now use the API key to authenticate requests.

CreateOrgAndKey

You should also set your organization’s LLM provider keys (we support openai, anthropic, and azure).

To authenticate via the API you should pass in an API key via the Authorization header:

'x-api-key': '<API_KEY>'

If using the SDK you will provide the api key to the Parea constructor:

from parea import Parea
p = Parea(api_key='<API_KEY>')