integration code generator ai powered.md
Integration Code Generator: AI Powered
AI code generation excels when treated as a specialized tool within a well-architected system. By combining constrained AI capabilities with strong engineering practices and human oversight, development teams can achieve significant acceleration in integration development while maintaining production-grade reliability. With this in mind, we've created the Pandium Integration Code Generator, using a combination of carefully crafted prompts and our API Clients. Now, with only selecting the key objects you would like mapped in your flows, you can generate a basic integration in minutes.
How to Use the Integration Code Generator
Create an internal integration within the Pandium Integration Hub.
&#xNAN;For repository branch, you can enter a new branch name, which Pandium will automatically create upon code generation.
Select the 'Start Repo' button
Review the repository path for your PANDIUM.yaml and select TypeScript as your language.
&#xNAN;While TypeScript is the only language currently supported with the Integration Code Generator, more will be coming soon!
- Select both "Include API Clients" & "Include CodeGen" to trigger the flow mapper.
- Select the objects you would like to sync from each system for each flow. You can change the direction of the flow by toggling the middle arrow.
- Select START to kick off the code generation. You will be automatically redirected to our source control page. Wait a moment for the build to kick off. You can follow along with the build process in the logs.
- Navigate to your repository and see your new code in the branch you selected.
What's included in the code generation?
- Your PANDIUM.yaml, which defines your custom user configuration.
- Your custom flows logic
- The use of the Pandium Clients for your selected connectors
At this point, source control will have made a release for your integration based on this code. You can use that release to create and connect a tenant.
The Pandium CLI can then be used to access the secrets and configs for that tenant in local development with the command:
pandium local build && pandium local run [tenant-id]
See a demo of an integration being created between Gorgias and Iterable using the Integration Code Generator:
{% embed url="https://youtu.be/5Lz2D2f9EhU?si=bePXM2cNtzqcFjmg" %}