React
Web components
Next steps
- Set up the
EmbeddedProviderwith authentication and theming - Explore Expense management in the FinOps guides for receipts, transactions, and cost centers
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Embed the expense management component to let users track receipts, categorize transactions, and manage cost centers.
import { EmbeddedProvider, ExpenseManagementWidget } from '@tesouro/embedded-components-react';
export default function ExpensesPage() {
return (
<EmbeddedProvider
userId={currentUser.id}
userEmail={currentUser.email}
widgetTokenRefreshUrl="/api/widget-token"
>
<ExpenseManagementWidget />
</EmbeddedProvider>
);
}
<embedded-expense-management-widget
data-user-id="YOUR_USER_ID"
data-widget-token-refresh-url="/api/widget-token"
></embedded-expense-management-widget>
EmbeddedProvider with authentication and themingWas this page helpful?