Skip to main content

Asgard JS SDK

Welcome to the Asgard JS SDK Demo site. This site hosts interactive, self-contained demos of every feature in @asgard-js/core and @asgard-js/react.

Installation

npm install @asgard-js/core @asgard-js/react

Quick Start

import { Chatbot } from "@asgard-js/react";
import "@asgard-js/react/style";

export function App() {
return (
<Chatbot
title="My Chatbot"
config={{
botProviderEndpoint:
"https://api.asgard-ai.com/ns/{namespace}/bot-provider/{botProviderId}",
}}
/>
);
}

Explore the Demos

Use the sidebar on the left to browse interactive demos, or jump straight to the Templates demo to see every built-in message template type.