Does the Resmed AirFit P10 nasal pillow come with the tube or will it fit my existing tube that I have?

It comes with a small tube.

The AirFit P10 nasal pillows mask comes with a small tube which will connect to your machine tubing.