Install the @cognest/sdk package to use Cognest programmatically in your application.
npm install @cognest/sdkThe CLI provides commands for project scaffolding, integration management, deployment, and debugging.
npm install -g @cognest/cliEach integration is a separate package. Install only the ones you need:
# Install individual integrations
pnpm add @cognest/integration-whatsapp
pnpm add @cognest/integration-slack
pnpm add @cognest/integration-gmail
# Or install all integrations at once
pnpm add @cognest/integrations| Requirement | Version |
|---|---|
| Node.js | 18.0 or higher |
| TypeScript | 5.0+ (recommended, not required) |
| Package Manager | npm, pnpm, or yarn |
The SDK is written in TypeScript and ships with full type definitions. No additional @types packages are needed.
{
"compilerOptions": {
"target": "ES2022",
"module": "ESNext",
"moduleResolution": "bundler",
"strict": true,
"esModuleInterop": true,
"skipLibCheck": true
}
}# Check CLI version
cognest --version
# → @cognest/cli v2.4.1
# Check SDK version in your project
node -e "console.log(require('@cognest/sdk/package.json').version)"
# → 2.4.1