Socket
Book a DemoInstallSign in
Socket

@kapaai/react-sdk

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kapaai/react-sdk

[![npm version](https://img.shields.io/npm/v/@kapaai/react-sdk.svg)](https://www.npmjs.com/package/@kapaai/react-sdk) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

0.5.1
latest
Source
npmnpm
Version published
Weekly downloads
1.6K
-1.57%
Maintainers
3
Weekly downloads
 
Created
Source

Kapa React SDK

npm version License: MIT

Build AI-powered chat interfaces that answer questions from your knowledge base.

What is Kapa.ai?

kapa.ai is a platform that turns your documentation, knowledge base, and support content into an AI assistant. It enables your users to get instant, accurate answers drawn directly from your own content.

SDK Overview

This React SDK allows you to easily integrate Kapa-powered chat functionality into your React applications. Add a few components to your app and give your users the ability to chat with an AI that knows your product.

Installation

npm install @kapaai/react-sdk

Basic Usage

import { KapaProvider, useChat } from "@kapaai/react-sdk";

// Wrap your app with the provider
function App() {
  return (
    <KapaProvider integrationId="your-integration-id">
      <YourChatInterface />
    </KapaProvider>
  );
}

// Use the hook in your components
function YourChatInterface() {
  const { conversation, submitQuery, isGeneratingAnswer } = useChat();

  // Build your chat UI...
}

For detailed usage instructions and API reference, see the official documentation.

FAQs

Package last updated on 13 Aug 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.