Introduction

Quickstart

Xentom's integration system allows developers to extend the platform's capabilities by creating custom connections to external services and APIs. Integrations are the building blocks that enable workflows to interact with third-party systems, from simple REST APIs to complex authentication flows.

1
Step 1

Create a new integration project using xentom init.

Terminal
xentom init my-awesome-integration

You will be prompted to enter an integration name in the format @<team-name>/<integration-name>. The team name should correspond to the team responsible for maintaining the integration. This naming convention is only required if you plan to publish the integration to the Xentom Platform.

A new directory named my-awesome-integration will be created with the default integration structure.

my-awesome-integration/
├── src/
│   ├── nodes/
│   │   └── index.ts           # Node definitions
│   └── index.ts               # Main integration entry point
├── package.json               # Project dependencies and scripts
├── tsconfig.json              # TypeScript configuration
├── CHANGELOG.md               # Integration changelog
└── README.md                  # Integration documentation
2
Step 2

Start the development server using xentom dev.

Terminal
cd my-awesome-integration
xentom dev

Open http://localhost:3000 in your browser to view and test your integration during development.

3
Step 3

Begin editing your integration. The development server automatically reloads whenever you save changes.

4
Step 4

When you are ready to prepare your integration for distribution, run xentom pack:

Terminal
xentom pack

This generates a tgz file in the dist directory. You can upload this file to your self-hosted Xentom Workflow instance.

dist/
└── team-my-awesome-integration-0.0.1.tgz
5
Step 5

To publish your integration to the Xentom Platform, log in and run xentom publish:

Terminal
xentom publish

On this page

No Headings