import { KeyRound, Link2, Play, RefreshCw } from 'lucide-react'; import type { ReactNode } from 'react'; const STEPS: { n: string; icon: ReactNode; title: string; note: string; }[] = [ { n: '01', icon: , title: 'Create auth config', note: 'Define the scheme for the toolkit you import into', }, { n: '02', icon: , title: 'Create the connection', note: 'Pass your existing API key or bearer token', }, { n: '03', icon: , title: 'Use it in a session', note: 'The connected account is active immediately', }, { n: '04', icon: , title: 'Update when it rotates', note: 'PATCH new credentials in place, no re-auth', }, ]; /** * ImportConnectionFlow — branded replacement for the import pipeline mermaid * diagram on the "Importing existing connections" page. * * Four steps to bring credentials you already hold into Composio without * making users re-authenticate: define the auth config, create the connection * with the existing credential, use it, and patch it when it rotates. Server * component, light/dark via fd-* tokens. */ export function ImportConnectionFlow() { return (
{step.note}