Portal Configuration
Learn how to configure the Finatic portal appearance and behavior.
Configure the Finatic portal to match your application's design and requirements. This guide covers all available configuration options.
Mode
Control the portal's appearance with the mode parameter. You can use 'light' or 'dark':
1// Light mode
2await finatic.openPortal({ mode: 'light' });
3
4// Dark mode
5await finatic.openPortal({ mode: 'dark' });Filtering Brokers
Show only specific brokers:
1// Show only Interactive Brokers and TastyTrade
2await finatic.openPortal({
3 brokers: ['interactive-brokers', 'tastytrade']
4});Pre-filling User Email
Pre-fill the user's email for faster authentication:
1await finatic.openPortal({
2 email: 'user@example.com'
3});