> ## Documentation Index
> Fetch the complete documentation index at: https://docs.halesis.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK Integrations

> Configure your existing SDKs to use the Halesis API.

Halesis is an OpenAI-compatible provider. Configure your SDK with:

* **Base URL:** `https://api.halesis.com/v1`
* **API key:** [Create a Halesis API key](https://docs.halesis.com/authentication.md)
* **Model:** `b1-fast` (or another model available to your account)

Keep the API key in server-side code or a secret manager.

## SDKs

> [card] [OpenAI SDK](https://docs.halesis.com/integrations/openai-sdk.md)

> [card] [Vercel AI SDK](https://docs.halesis.com/integrations/ai-sdk.md)

> [card] [LangChain.js](https://docs.halesis.com/integrations/langchain.md)

Set up using a coding agent

Integrate the Halesis API into this project.

First inspect the codebase and use its existing language, framework, AI SDK, and configuration patterns. Configure the existing client or provider to use the OpenAI Chat Completions-compatible API:

* Base URL: `https://api.halesis.com/v1`
* API key: read `HALESIS_API_KEY` from a server-side environment variable or secret manager.
* Example model: `b1-fast`
* Endpoint: Chat Completions (`/chat/completions`)

Keep the API key out of browser code and public environment variables. Do not use the OpenAI Responses API or invent a Halesis-specific SDK. Make the smallest changes needed, update the example environment configuration if applicable, and run the relevant checks.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.