# TypeScript / Node.js SDK

The official Apideck SDK for TypeScript / Node.js. Integrate with 200+ services across CRM, Accounting, HRIS, ATS, File Storage, E-commerce, Issue Tracking, and more — using one unified API.

## Install

```bash
npm install @apideck/unify
```

- NPM: https://www.npmjs.com/package/@apideck/unify
- GitHub: https://github.com/apideck-libraries/sdk-typescript

## Getting started

Initialize the client with your API key, application ID, and a consumer ID (an identifier in your system for the end user whose connections you are acting on). Then call any Unified API method — for example, listing CRM contacts from Salesforce:

```ts
import { Apideck } from "@apideck/unify";

const apideck = new Apideck({
  apiKey: "<insert-api-key-here>",
  consumerId: "<insert-consumer-id-here>",
  appId: "<insert-application-id-here>",
});

const result = await apideck.crm.contacts.list({
  serviceId: "salesforce",
});

for await (const page of result) {
  console.log(page);
}
```

## AI coding agent skill

If you are using an AI coding agent, install the `apideck-node` skill to teach it how to use this SDK — including methods, authentication patterns, and error handling:

```bash
npx skills add apideck/api-skills --skill apideck-node
```

See [https://developers.apideck.com/building-with-llms](https://developers.apideck.com/building-with-llms.md) for more on using Apideck with LLMs and AI agents.

## Resources

- [Unified API reference](https://developers.apideck.com/apis/crm/reference.md)
- [Get an API key](https://developers.apideck.com/get-started.md)
- [Other SDKs](https://developers.apideck.com/sdks): Node.js, Python, .NET, PHP, Java, Go
