Creating an image with modem-manager, network-manager, & APN connection

I want to build a device image that has “modem-manager” & “network-manager”. Additionally since I know the devices that the image will be loaded onto, I want to configure the network connection with a APN and the cellular modem so when the device powers up it automatically connects to the internet.

When I do this manually, I run the following command:

sudo nmcli c add type gsm ifname cdc-wdm0 con-name Twilio apn super

Where or how would I need to modify the image building process to add a custom connection to network-manager?