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

# AI Assistant

> AIAssistant React component: let users draft templates, fix errors and explain contract terms with Sendforsign AI inside your app.

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

![](https://mintcdn.com/sendforsign/bDeZDTsZ_41-V2Bk/sdk/img/aiassistant.avif?fit=max\&auto=format\&n=bDeZDTsZ_41-V2Bk\&q=85\&s=cd670703618364967929d67ff1e86314)

AI Assistant

## Usage

First, install [Sendforsign components.](https://sendforsign.com/docs/sdk/introsdk.md#installation)
After that:

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

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

## 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](https://sendforsign.com/docs/api-reference/implementation_server.md#generate-client-tokens). |
| `userKey` | `string` | | User key for the user who is using this assistant. |


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.