Learn how to integrate Suada with your Node.js applications
dotenv
to manage environment variablesOption | Type | Required | Description |
---|---|---|---|
apiKey | string | Yes | Your Suada API key |
baseUrl | string | No | Custom API endpoint (defaults to https://suada.ai/api/public) |
passthroughMode | boolean | No | Enable user-specific resources |
chatHistory
parameter to maintain conversation context:
DEBUG
environment variable: