We start by connecting your iPad to your computer.
If you're using a MAC, open "Audio Midi Setup" and the Network Settings.
If you're on a Windows computer, use the free rtpMidi software by Tobias Erichsen.
Make sure you have a Midi Session. If not, create a new one and give it an appropriate name.
Start the m.phase Application.
You should now see your iPad in the Midi Setup dialog on your computer.
Select your iPad and connect it to your computer.
Connect your iPad as a HUI to your Pro Tools software.
Do this by opening the Peripherals dialog in your DAW.
Now open the MIDI Controllers tab and configure your remote control.
Assign a HUI type and set the MIDI Session of your computer in "Receive From" and "Send To".
That's it, you're ready to go!