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

# AI Assistant

The `AI Assistant` component is a React component that renders the entire Assistant.
This component enables communication with Sendforsign AI to create document templates, correct document errors,
explain complex terms, avoid duplicate data entry, and more.

### Preview

<Frame caption="AI Assistant">
  <img src="https://mintcdn.com/sendforsign/bDeZDTsZ_41-V2Bk/sdk/img/aiassistant.avif?fit=max&auto=format&n=bDeZDTsZ_41-V2Bk&q=85&s=cd670703618364967929d67ff1e86314" width="1993" height="1328" data-path="sdk/img/aiassistant.avif" />
</Frame>

## Usage

First, install [Sendforsign components.](/sdk/introsdk#installation)
After that:

<CodeGroup>
  ```typescript App.tsx theme={null}
  import { AiAssistant } from 'sendforsign';

  <AiAssistant
    token='YourClientToken'
  />
  ```
</CodeGroup>

## Props

| Prop        | Type     | Default | Description                                                                                                                                                             |
| ----------- | -------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `apiKey`    | `string` |         | Use only for testing purposes. API key for your platform.                                                                                                               |
| `clientKey` | `string` |         | Use only for testing purposes. Client key for the account that is using the infrastructure.                                                                             |
| `token`     | `string` |         | Client token refers to the client that is using the infrastructure. Learn more about client tokens [here](/api-reference/implementation_server#generate-client-tokens). |
| `userKey`   | `string` |         | User key for the user who is using this assistant.                                                                                                                      |
