I have an application that handles sales and contract fillings. I want to know if there is a way to use the ‘signature’ tool so that the customer can sign the document on the spot.

Perhaps DocuSign is the best fit here.

But you’ll have to configure your template inside DocuSign.