Configuration
Configure the Platform SDK client with API keys, workspace ID, and optional base URL overrides.
Configuration Parameters
Parameter
Type
Required
Description
Creating a Client
import { AmigoClient } from '@amigo-ai/platform-sdk'
const client = new AmigoClient({
apiKey: 'your-api-key',
workspaceId: 'your-workspace-id',
})With a Custom Base URL
const client = new AmigoClient({
apiKey: 'your-api-key',
workspaceId: 'your-workspace-id',
baseUrl: 'https://api.platform.amigo.ai', // default
})Environment Variables
Separate Environments
Getting Your Credentials
API Key
Workspace ID
Security Best Practices
Next Steps
Last updated
Was this helpful?

