Connecting Deals and Products

Connecting Deals and Products

Hello.
I have connected Deals and Products. But what I am missing is when I choose from Deals the product that I want, for the Deal to take the price of the product automatically, and then follow the whole pipeline.

eg In Deal A I select product 1. That has a value of 2.000
how can this amount appear automatically in the Amount box that already exists in the Deal options, thus
following the Pipeline.

Thanks