logo
📦

@formmy.app/chat

El SDK de Formmy te permite integrar chatbots inteligentes directamente en tus aplicaciones. Con acceso programático completo, puedes crear, configurar y desplegar agentes conversacionales desde tu propio código. Disponible para usuarios con plan Pro o superior.

Official SDK for Formmy AI Chat. Build conversational AI experiences in your React applications.

npmGet API KeysVoice SDK Docs

📥 Installation

That's it! AI SDK is bundled. Only react required as peer dependency.

🔑 API Keys

Get your API keys from the dashboard.

Key TypePrefixUsageScope
Secret Keyformmy_sk_live_Backend onlyFull API access
Publishable Keyformmy_pk_live_Frontend safeChat only, domain-restricted

🚀 Quick Start

Backend (Node.js)

Use the Formmy client to manage agents and conversations from your server.

Frontend (React)

Use the provider and components to add chat to your React app.

Headless Hook

Build custom chat UIs with the useFormmyChat hook.

📖 API Reference

Formmy Client

FormmyProvider

ChatBubble

useFormmyChat

useFormmyVoice

sendText() allows cross-modal input — send text messages during an active voice call. audioDestination lets you route agent audio through a custom audio chain (GainNode, AnalyserNode) for volume control and visualizations. See Voice SDK docs for full protocol details and FormmyVoiceClient for vanilla JS usage.

📘 TypeScript

Full TypeScript support included.

📋 CRM / Board

El CRM de Formmy es un kanban donde cada Conversation es una persona/tarjeta, agrupada por su estado (columna). Cada tarjeta puede llevar Órdenes (cotizaciones/pedidos): su total alimenta la suma de la columna y su estatus, si coincide con el label de una columna, mueve la tarjeta. Cualquier agente (de flota o externo) puede manipular el board vía estos métodos — equivalentes a las tools MCP set_conversation_status, add_conversation_tag y create_order.

Órdenes — campos prioritarios: notas (el comentario) y cotizacionUrl (el PDF de la cotización). Espejan el mismo comentario y adjunto que envías a Kommo. Llama createOrder además del push a Kommo, no en vez de él.

Mover / clasificar leads

Registrar una orden (cotización/pedido)

HTTP directo (server-to-server)

Los mismos writes por HTTP con tu formmy_sk_live_ key. La conversación debe pertenecer a un agente tuyo.

🚀 Demo

Check out our complete working examples with both server and client implementations.

View Demo on GitHub

Need Help?

Have questions or need assistance? We're here to help.