logo
📦

@formmy.app/chat

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

📥 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

📘 TypeScript

Full TypeScript support included.

🚀 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.