0.0.3 • Published 11 months ago

@fastn-ai/agent-connect v0.0.3

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

@fastn-ai/agent-connect

Installation

npm install @fastn-ai/agent-connect

Usage

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 NameTypeDescription
spaceIdstringThe ID of the space whose agent connect you want to embed.
authTokenstringThe authentication token used to authenticate your application users.
tenantIdstringThe ID of the tenant (e.g., user, organization, etc.) (optional).
styleobjectCustom styles for the container. (optional)
0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago