Get started with SDK
Authentication
Use cases
You only need a Baserun API key if you are using the SDK. You don’t need it if your primary activities are using the prompt playground, monitoring your application, or evaluating outputs.
1
Install Baserun
2
Get an API key
Create an account at https://app.baserun.ai/sign-up. Navigate to the Settings tab. In this tab, you will find a section for creating a Baserun API key. Click the ‘New Token’ button, name your token, and then copy the key.
3
Set the Baserun API key as an environment variable
Alternatively set the Baserun API key when initializing the SDK