How to get IP address on wwan interface using NetworkManager and ModemManager in linux

I want to auto connect to network using NetworkManager and ModemManager.
Please suggest me how can i do it.
Thank you

Which module do you use. About ModemManager, you can ask in related forums.
It’s recommended to use quectel-CM.