Skip to content

Connection Components

Connection List

Tool connection interface for Gmail, Calendar, and Notion.

html
<configure-connection-list api-key="pk_live_xxxxx" tools="gmail,calendar,notion"></configure-connection-list>
tsx
<ConnectionList tools="gmail,calendar,notion" onToolConnect={(tool) => {}} />
Attribute / PropTypeDefaultDescription
api-key / apiKeystringConfigure API key
toolsstring'gmail,calendar,notion'Comma-separated tool IDs
connectionsConnectionData[][]Connection data (JS property)
Event / CallbackDetailDescription
configure:tool-connect / onToolConnect{ tool: string }User clicked connect
configure:tool-disconnect / onToolDisconnect{ tool: string }User clicked disconnect

Connection Row

Single tool connection row with icon, name, and status.

html
<configure-connection-row tool-id="gmail" name="Gmail"></configure-connection-row>
<configure-connection-row tool-id="calendar" name="Google Calendar" connected></configure-connection-row>
<configure-connection-row tool-id="notion" name="Notion" loading></configure-connection-row>
Attribute / PropTypeDefaultDescription
tool-id / toolIdstring''Tool identifier (gmail, calendar, notion, drive)
namestring''Display name
connectedbooleanfalseConnection status
loadingbooleanfalseShow loading spinner
Event / CallbackDetailDescription
configure:tool-connect / onToolConnect{ tool }User clicked connect
configure:tool-disconnect / onToolDisconnect{ tool }User clicked disconnect
configure:tool-error / onToolError{ tool, error }Connection error

Single Connector

Inline single-tool connection with optional message.

html
<configure-single-connector api-key="pk_live_xxxxx" tool-id="gmail" message="Connect Gmail to search your emails"></configure-single-connector>
tsx
<SingleConnector toolId="gmail" message="Connect Gmail to search your emails" />

Identity and memory infrastructure for AI agents