company_name
is not passed, company wont be created and so, your user will have to enter it in the SDK.integrations
. If only one integration is passed, user will be redirected to the platform login url directly.invite_link
, which will need to be sent to the SDK during initialisation, and the company_id
, which you should store to uniquely identify this customer.<script src="https://app.rootfi.dev/sdk.js"></script>
KSA region: <script src="https://app.sa.rootfi.dev/sdk.sa.js"></script>
RootfiLink.initialize()
.
RootfiLink.openLink();
to open the SDK. Make sure you call this function onReady is called back on initialisation.RootfiLink.closeLink();
to close the SDK. You can use this method to close the SDK in onSuccess and onExit Callback;RootfiLink.closeLink();