SDKs

Extend provides official SDKs in TypeScript, Python, and Java to help you integrate faster and with better type safety. These SDKs are automatically generated from our API specification, ensuring they’re always up to date with our latest features.

Installing the Extend SDK

In the following getting started guide we will provide sample code using both cURL requests and our SDKs (Typescript, Python, and Java). If you wish to follow along with one of the SDKs, you should install the SDKs as follows:

Typescript:

$npm install extend-ai

Python:

$pip install extend-ai

Java:

1dependencies {
2 implementation 'ai.extend:extend-java-sdk'
3}

Official SDKs

Community SDKs

HIPAA Usage

For our customers that require HIPAA compliance, we have a different API endpoint. To use our SDKs in the HIPAA environment, you will need to configure your SDK.

1import { ExtendClient } from "extend-ai";
2
3const client = new ExtendClient({
4 token: "YOUR_API_KEY_HERE",
5 baseUrl: "https://api.us2.extend.app" // Put this here to use the HIPAA-compliant endpoint
6});