> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trynavi.guide/llms.txt
> Use this file to discover all available pages before exploring further.

# Required Parameters

> Essential configuration parameters for the Navi widget

## 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

```javascript theme={null}
initUnifiedWidget({
  agentConfigId: "agent_abc123",
  agentKey: "sk_live_xyz789abc"
});
```

**Important Notes:**

* 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 `onError` callback will be triggered
