agentConfigId
- Type:
string - Description: Your Navi agent configuration ID from the dashboard
- Example:
"agent_abc123"
agentKey
- Type:
string - Description: Authentication key for SDK access (minimum 10 characters)
- Example:
"sk_live_abc123def456" - Note: This key only provides access to SDK endpoints, following the principle of least privilege
Basic Example
- Agent keys are different from API keys and are specifically designed for SDK usage
- The key must be at least 10 characters long
- The SDK will validate the key’s authorization for the requested agent configurations
- If authentication fails, an error will be displayed and the
onErrorcallback will be triggered
