Integration Guide: SaaS, AI & Security

🔹 With SaaS Applications

viaSocket Embed enables you to connect your SaaS with 5,000+ apps using three data flow models:

  • Fetch data from external apps into your SaaS

  • Send data from your SaaS to external apps

  • Bidirectional flow for complete sync

Steps to get started:

  1. Build your SaaS Application: First, build your application inside the viaSocket marketplace. To do this:

    • Go to Login >> Click on your company name at the top-right corner.

    • Select Plugin Builder and start building your application.

    • Here’s a help link to guide you through the app/plugin-building process.

  2. Create the Embed:

    • Once your app is built, create an Embed by going to Login >> Click on your company name (top-right corner).

    • Select Integration Embed and choose the app you built.

    • Select the actions and events you want to make available to your end users.

    • In the Embed Settings, choose which third-party apps you want to show to your users.

    • Tip: If this is your first time testing, start with just one third-party app. You can increase this number later (up to 5000+ apps).

    • Learn using video Guide video

For detailed help with the Embed setup, check this link.

Demo integration: Here’s an example of how the Embed will look inside your app: viaSocket Embed Demo

  • Note: The demo uses Webhook as the primary app. You can replace this with your own app.

  • For testing with your configuration, replace org_id, projectid, and secret with your embedding credentials, which you'll receive when creating the embed.

  • The demo currently selects a few popular apps, but you can customize the selection based on your embed setup. It works in real time.


🔹 With AI & LLM Applications

viaSocket Embed connects AI systems with external apps instantly and in real time.

How it works:

  1. Your AI/LLM sends data to a Webhook URL generated by viaSocket.

  2. viaSocket performs the required operation (fetch/send).

  3. The result is returned on the same Webhook URL.

  4. Flow can be customized via the CONNECT TYPE tab in Embed Settings.

Why Webhooks?

  • ✅ Trigger AI chatbot responses dynamically

  • ✅ Enable live data processing

  • ✅ Execute custom events in real time

Steps to set up:

  1. Go to Login → Company Menu → Integration Embed

  2. Choose Webhook as the primary app

  3. Select third-party apps to connect

  4. Test with your credentials (org_id, project_id, secret)

Demo: Here's a demo showing how the Webhook is connected to third-party apps via viaSocket. Embed: viaSocket AI/LLM Embed Demo

  • Note: The demo uses Webhook as the primary app. You can replace this with your own app.

  • For testing with your configuration, replace org_id, projectid, and secret with your embedding credentials, which you’ll receive during the embed creation process.

  • The demo shows a few popular apps, but your configuration can include more apps based on your embed setup.


🔹 Secure Data Transfer

viaSocket ensures secure communication with JWT (JSON Web Tokens):

  • Each automation flow is tied to a unique JWT token

  • Generated using org_id, user_id, project_id, and access_key

  • Encrypted with HS256

  • Passed as the embedToken parameter inside the script tag viasocket-embed-main-script

This ensures every user’s workflow is isolated, secure, and authenticated.