You must import both @panora/shared (which contains the types) and @panora/embedded-card-react.
Don’t forget to import the styles as well import "@panora/embedded-card-react/dist/index.css";
By default, all connectors are rendered but you have the option to use the
category prop to filter them by category. Learn more about values accepted
here.
import"@panora/embedded-card-react/dist/index.css";import{PanoraProviderCard}from"@panora/embedded-card-react";import{ConnectorCategory}from'@panora/shared'constMyPage=()=>{return(<PanoraProviderCard name={"hubspot"}// name of the provider category={ConnectorCategory.Crm} projectId={"f9e9601e-d6da-471a-9777-94257e9b4f00"} linkedUserId={"4c6ca51b-7b23-4e3a-9309-24d2d331a04d"} optionalApiUrl={"http://localhost:3000"}// Optional (only if you are in selfhost mode and want to use localhost:3000), by default: api.panora.dev/>)}