1

Create an account + Generate an API Key

Log into qualifire or create an account. Once you have an account, you can generate an API key.

2

Set QUALIFIRE_API_KEY as an environment variable

QUALIFIRE_API_KEY=<your API key>
3

Modify the base path and add a Qualifire-X-Api-Key header

If you created a direct integration, you can omit the defaultHeaders property.

import Anthropic from "@anthropic-ai/sdk";

const anthropic = new Anthropic({
  baseURL: "https://proxy.qualifire.ai/api/providers/anthropic",
  apiKey: process.env.ANTHROPIC_API_KEY,
  defaultHeaders: {
    "X-Qualifire-Api-Key": process.env.QUALIFIRE_API_KEY,
  },
});