The SDK reads your API key from POMA_API_KEY by default.
Create an API key
- Open POMA Playground.
- Sign in or create an account.
- Copy an API key from the playground.
If you need access, contact sdk@poma-ai.com.
Set the environment variable
bash
export POMA_API_KEY="your-api-key"powershell
setx POMA_API_KEY "your-api-key"On Windows, open a new terminal after running setx.
You can also pass the key directly:
python
from poma import Poma
client = Poma(api_key="your-api-key")Optional environment variables
The SDK also respects API_BASE_URL.
Use it only when you need to point the client at a non-default POMA API base URL.