2019 Kia Optima Ex Turbo Engine

Hello I am going to buy my first car today. The current price is 19,775. It has 44,480 miles on it. It also comes with a lot of great features. I checked the report on car edge and they said a fair price would be 18,786. The car is already 6.56% cheaper than similar vehicles and 8.96% below sales prices. It’s also been on the market 142 days and is not considered high in demand.

Could someone please help me with going about how to negotiate? I know to start with asking for the OTD price. However, how do I control the conversation and get the best discount on the car? I made the mistake when making the appointment yesterday morning by saying I would pay cash. I watched a video last night and realized that was a mistake. If anybody could guide me in a successful direction that would be greatly appreciated!