CraftN Developer Quickstart
Deploy an autonomous AI employee connected to WhatsApp, Instagram, or Voice in under 5 minutes using our TypeScript SDK.
1. Install Package
npm install @craftn/sdk
2. Initialize Client
import { CraftN } from '@craftn/sdk';
const ai = new CraftN({
apiKey: process.env.CRAFTN_API_KEY,
environment: 'production'
});
await ai.agents.deploy({
name: 'OrderTaker_v2',
channels: ['whatsapp'],
systemPrompt: 'You are a polite restaurant order assistant...',
webhooks: {
onOrderPlaced: 'https://api.mybusiness.com/webhooks/craftn'
}
});Need developer help? Reach out directly to engineering at flow0craft@gmail.com.