@fastn-ai/agent-connect
v0.1.0
Published
UCL Agent Connect
Readme
@fastn-ai/agent-connect
Installation
npm install @fastn-ai/agent-connectUsage
import React from 'react';
import AgentConnect from '@fastn-ai/agent-connect';
const Component = () => {
const authToken = useAuth(); // Your authentication logic
return (
<AgentConnect
spaceId="example-space-id"
authToken={authToken}
tenantId="example-tenant-id"
/>
);
};Props
| Prop Name | Type | Description | | --------- | ------ | ----------------------------------------------------------------------------- | | spaceId | string | The ID of the space whose agent connect you want to embed. | | authToken | string | The authentication token used to authenticate your application users. | | tenantId | string | The ID of the tenant (e.g., user, organization, etc.) (optional). | | style | object | Custom styles for the container. (optional) |
