Create a connection using script instead of user interface

I’m working on a Zendesk < - > Jira integration. We are using the Zendesk Jira connector to create and link tickets. We want to use Exalate only for complex synchronization rules not supported with the Zendesk Jira connector. We don’t want to have to manually create a connection in Exalate for every ticket linked using the connector, so we want to create these using scripting mode. Has anyone done this before or have suggestions as to how could be implemented?