← ClaudeAtlas

inngest-setuplisted

Set up Inngest in a TypeScript project. Install the SDK, create a client, configure environment variables, serve endpoints or connect as a worker, and run the local dev server.
inngest/inngest-skills · ★ 23 · AI & Automation · score 66
Install: claude install-skill inngest/inngest-skills
# Inngest Setup This skill sets up Inngest in a TypeScript project from scratch, covering installation, client configuration, connection modes, and local development. > **These skills are focused on TypeScript.** For Python or Go, refer to the [Inngest documentation](https://www.inngest.com/llms.txt) for language-specific guidance. Core concepts apply across all languages. ## Prerequisites - Node.js 18+ (Node.js 22.4+ r ecommended for WebSocket support) - TypeScript project - Package manager (npm, yarn, pnpm, or bun) ## Step 1: Install the Inngest SDK Install the `inngest` npm package in your project: ```bash npm install inngest # or yarn add inngest # or pnpm add inngest # or bun add inngest ``` ## Step 2: Create an Inngest Client Create a shared client file that you'll import throughout your codebase: ```typescript // src/inngest/client.ts import { Inngest } from "inngest"; export const inngest = new Inngest({ id: "my-app" // Unique identifier for your application (hyphenated slug) }); // In development, you must set the INNGEST_DEV=1 env var or use isDev: true // In production, INNGEST_SIGNING_KEY is required (v4 defaults to Cloud mode) ``` ### Key Configuration Options - **`id`** (required): Unique identifier for your app. Use a hyphenated slug like `"my-app"` or `"user-service"` - **`eventKey`**: Event key for sending events (prefer `INNGEST_EVENT_KEY` env var) - **`env`**: Environment name for Branch Environments - **`isDev`**: Force Dev mode (`true`) or