
Components
Insights feed
Embed the insights feed component to surface relevant tasks, offers, and warnings for your users.

Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Embed the insights feed component to surface relevant tasks, offers, and warnings for your users.

import { EmbeddedProvider, InsightsWidget } from '@tesouro/embedded-components-react';
export default function InsightsPage() {
return (
<EmbeddedProvider
userId={currentUser.id}
userEmail={currentUser.email}
widgetTokenRefreshUrl="/api/widget-token"
>
<InsightsWidget />
</EmbeddedProvider>
);
}
<embedded-insights-feed-widget
data-user-id="YOUR_USER_ID"
data-widget-token-refresh-url="/api/widget-token"
></embedded-insights-feed-widget>
Was this page helpful?