Set up your API key
Get your API key from the Exa Dashboard and set it as an environment variable.For the Python or JavaScript SDK, create a file called For cURL, set it as an environment variable in your terminal instead:
.env in the root of your project and add the following line:.env
- macOS/Linux
- Windows
Install the SDK
Install the SDK for your language. If you want to store your API key in a
.env file, also install the dotenv library. cURL needs no installation, skip to the next step.