Skip to main content
In this tutorial series, we will:
  1. Interact with your users’ integration data using ActionKit Tools
  2. React to your users’ integration events via webhook subscriptions using ActionKit Triggers
  3. Provide an example of an integration feature that uses Triggers to kick off an agent with Tools to write-back data
In this first chapter, we’ll set up an integration, allow users to authenticate in your app, and run a real-time action

Set up your Paragon integration

Configure your 3rd-party App

The first step is to configure and enable your integration on the Paragon dashboard. For the purposes of this tutorial, we will be using HubSpot. If you’re following along, visit our HubSpot guide to configure your integration.
If you’re setting up a different integration, visit our integration catalog for a full list of integrations and how to set up your 3rd-party app in Paragon.

Generate a Paragon Signing Key

To generate a Signing Key, go to Settings > Signing Keys in your Paragon dashboard. You should store this key in an environment secrets file.
We will also need your Paragon Project ID. You can copy your Project ID by clicking Copy Project ID under the Environment switcher:
Your Signing Key and Project ID will be used as environment variables in your application.

Authenticate your users

Start with the Paragon Skill to embed Paragon in your app

Install the Paragon Skill in your coding agent for a guided experience.
The Paragon Skill will steer your agent through setting up the Paragon SDK and embedding the Connect Portal.
Add the Paragon SDK
Your agent should have set up the following:
  1. A server-side route that creates a signed JWT for each of your users
  1. Paragon SDK used on your front-end client to authenticate your users
  1. Front-end components to bring up the Connect Portal for users to connect their integrations
If you would like to set up Paragon without an agent, see the setup guide

Run your first real-time ActionKit Tool

ActionKit’s Tool API gives your agent or app hundreds of pre-built tools that execute real-time actions.

Get Tools

Get available tools programmatically via the GET Tools endpoint.
Example response
If you have a specific Tool in mind, you can also visit the ActionKit docs to browse every available Tool.

Execute Tool

To execute a tool, run a POST /tools call against the ActionKit API with the tool name and any tool parameters.
And that’s all it takes to run any integration action with the Tools API! In the next chapter, we’ll be subscribing to HubSpot webhooks through ActionKit’s Triggers API.