Skip to main content
New protocol version released: This page may contain outdated information.
Get started with the HAIP TypeScript SDK in just a few minutes.

Basic Setup

Create a new project and install the SDK:

Simple Connection

Create your first HAIP client:

Send Your First Message

Listen for Responses

Complete Example

Here’s a complete working example:

Browser Example

For browser environments:

Error Handling

Add proper error handling to your application:

Next Steps

Client API

Explore the complete client interface and methods.

Examples

Browse more comprehensive examples and use cases.

Authentication

Learn about authentication and security.

Transports

Understand different transport options and configurations.