Getting started
Install@raccoonai/tail-react
package by executing the following command.
TypeScript
Usage
useTailSDK
The useTailSDK hook lets you instantiate and use the Tail SDK in your application.LinkAppModal
The modal to display necessary information and start the app linking process.getApps
This function returns a list of all the apps available for authentication for your organisation.getLinkedApps
This function returns a list of all the apps that are currently authenticated and linked for a user. You need to pass theraccoonPasscode
of the user you want to check the linked apps for.
unlinkApp
TheunlinkApp
function in tailInstance
unlinks the app for the provided Raccoon Passcode. It returns a boolean true if the unlinking is successful and false if it fails.