TrackstarLink
component in your application.
If you are using vanilla Javascript, you can still use the Trackstar Link component by loading the script in your HTML file:
TrackstarConnectButton
that opens a modal with a list of integrations, you can use multiple TrackstarConnectButton
components to connect to specific integrations directly.
integrationAllowList
prop to an array of a single integration ID. This will bypass the integration selection screen.buttonId
prop to a unique ID. This is required if you have multiple Trackstar Connect buttons on the same page.integrationsWithEndpoints={['get_returns', 'create_return']}
will only show the integrations that have the endpoints get_returns
and create_return
.integrationAllowList={['wms1', 'wms2']}
will only show the integrations that are in the allow list. If only one integration is in the allow list,
the integration selection screen will be bypassed.integrationBlockList={['wms1', 'wms2']}
will not show the integrations that are in the block list.integrationAllowList
, and integrationBlockList
are mutually exclusive.
If both props are given values, all integrations will be displayed. Integration IDs that can be used in these props can be found in the Integrations section.