Skip to main content

Install JS SDK

You can install Activepieces SDK into your application with a small snippet of JavaScript in your website:

Authenticate:

Finally, you can use the Connection token in javascript by using the following SDK method on your frontend:

Connect:

You must contact activepieces to register your app credentials. Once this is done, you can provide the appName to connect.
To open authentication for certain app use the following:
When this is successful, you will see the following screen and the app will be available in the connections tab of the activepieces dashboard. Connection success

Disconnect:

To disconnect from the app, you can use the following code: