Trouble sending recording to the Aux Track in Protools

I have already set up the input device on AudioDeviceManager and it is able to receive sound. (Tested on AudioPluginHost)
AudioDeviceManager : https://docs.juce.com/master/classAudioDeviceManager.html

How do you send the recording you received using the Input device to the Aux Track in Protools?

I’m trying to create an audio plug-in that’s similar to ConnectionOpen or Source-Connect Link AAX. Can someboy give me some tips?