Documentation Index
Fetch the complete documentation index at: https://docs.viamoss.ai/llms.txt
Use this file to discover all available pages before exploring further.
Quickstart Guide
Get up and running with the Moss SDK in just a few minutes. This guide will walk you through the essential steps to install the SDK and render the assistant in your application.1. Install the SDK
Choose your preferred installation method:Option A: CDN Installation (Recommended for Non-React Apps)
Option B: NPM Installation (For React Apps)
2. Setup (NPM Installation Only)
If you used CDN installation, skip this step. The SDK is automatically configured and ready to use.
AgentProvider is the heart of the SDK. It manages state, provides context to all other components, and renders the assistant UI. Wrap it around your application at a high level.
/src/App.tsx
3. Configuration
You must provide theapiUrl, applicationName, and userId in the config prop.
apiUrl: The URL of your Moss backend service.applicationName: The unique name you registered for your application.userId: A unique identifier for the current user.