Quickstart
Know how to install the Basalt SDK, get your first prompt and start monitoring. (~2 minutes)
This guide will get you all set up and ready to use the Basalt API. We’ll cover how to get started using our Python and JavaScript/TypeScript SDKs and how to make your first request. We’ll also look at where to go next to find all the information you need to take full advantage of our SDKs.
Getting Started
Install the SDK
First, install the SDK for your language.
Instantiate Basalt
Instantiate the SDK with your API key. If you don’t have one, you can get it from the Basalt Dashboard.
Get your prompt
Get your first prompt using the basalt.prompt.get
method with the slug
of your prompt as parameter.
Learn more about how to get your prompt and discover all the available options in the Prompts documentation.
Monitor the output
After getting your prompt, you can easily monitor the output of your LLM, pushing it back to Basalt.
Learn more about how to monitor your prompt, discover all the available options and more advanced use cases in the Monitoring documentation.