How do I enter an installment sale of stock?

I sold a block of company stock in 2017 for which I am being paid over a period of four years with the first payment in 2017.  In other words, this is an installment sale.  My 1099-B shows the entire sale amount.  However, I only received one quarter of it in 2017 on which I made an estimated tax payment. How do I enter the  installment aspect of the sale in TTax?