Creating a connector via command lines in a Dockerfile

Hi,

I have 2 EMQX brokers running on different Kubernetes clusters.
These brokers are deployed using Dockerfile and Kubernetes manifests.
I want to create a bridge between the two EMQX brokers. It seems the way to do it is by creating a connector through the dashboard.
Is it possible to create this connector/bridge using Command lines or configuration files so that it can be incorporated in the Dockerfile?
Thank you

Any help on this is much appreciated.