Skip to main content

Quick Start Guide

Get your AI assistant up and running in just a few steps.
You’ll need your Application ID from the Moss Dashboard and a JWT signing key for authentication.

1. Install the SDK

2. Add Moss to Your App

Add AgentProvider and AssistantButton to your application. The provider does not need to wrap your entire app — just the Moss components.
App.tsx
AgentProvider only needs to wrap the Moss UI components. It observes the full page DOM regardless of where it sits in the React tree.

3. Set Up Authentication

Create a backend endpoint to generate JWT tokens for your users. See the Authentication Guide for complete setup instructions.
api/moss-token.ts

What’s Next?

That’s it! The Moss AI assistant will now appear as a floating action button in your application.

Authentication

Complete JWT authentication setup

Configuration

Customize SDK behavior and options

Need Help?

Check out the Dashboard for your Application ID, JWT signing keys, and detailed analytics.
If you encounter any issues, please contact our support team or check the troubleshooting guide.