Prerequisites
Before you begin, you must have:- Node.js 18 or higher installed on your local machine.
- A Thygon API key. You can generate one in the API Keys tab of the Thygon console.
Install the SDK
Add the Thygon SDK package to your project dependencies.Configure the client
Initialize theThygonSDK client using your API key. We recommend storing the key in the THYGON_API_KEY environment variable.
Emit your first event
Create and publish an event to your organization’s ledger. This notifies all subscribed workflows and agents.Next steps
Now that you have emitted your first event, you can design automation rules and workflows:- Learn more about Actors and Events.
- Set up a custom Workflow to handle incoming events.
- Deploy your workflows using the Workflow service.