Installation
Install the Advanced iMessage Kit SDK using your preferred package manager.Prerequisites
Node.js 18.0.0 or higher is required to use this SDK.
- Node.js 18+ installed on your system
- Access to an Advanced iMessage Kit server running on macOS
- (Optional) An API key if your server requires authentication
Install the SDK
Choose your preferred package manager:TypeScript Support
The SDK is written in TypeScript and includes type definitions out of the box. If you’re using TypeScript in your project, you’ll get full type safety and autocomplete support.TypeScript 5.9.3 or higher is recommended for the best development experience.
Verify Installation
Verify the installation by creating a simple test file:test.ts
Server Setup
The SDK connects to the Advanced iMessage Kit server application running on macOS. Make sure you have:- Downloaded and installed the Advanced iMessage Kit server app on your Mac
- Launched the server and noted the URL (default:
http://localhost:1234) - Generated an API key if your server is configured to require authentication
The server must be running on a Mac with iMessage configured. The SDK client can run on any platform (macOS, Linux, Windows) as long as it can reach the server over the network.
Environment Variables
For easier configuration across environments, you can set environment variables:.env
Next Steps
Quick Start
Build your first iMessage integration in 5 minutes
Configuration
Learn about all configuration options