Skip to main content

REFERENCE

SDK Demos

How to use @asgard-js/core and @asgard-js/react, with demos you can try on the page.

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.

  1. Installation​

    npm install @asgard-js/core @asgard-js/react
  2. 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}",
    }}
    />
    );
    }
  3. 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.

Ready to get started?

Want to see how Asgard fits your team? Talk to us.

Contact us