Many designers label themselves “UX designers.” This implies great confidence in the capabilities of the designer, and suggests that the user experience can be designed. But as explained, we cannot do this. Instead, we can design for UX. We can design the product or service, and we can have a certain kind of user experience in mind when we design it. However, there is no guarantee that our product will be appreciated the way we want it to be (again, see Hassenzahl). We can shape neither our users’ expectations nor the situation in which they use what we have designed.

Following this, we need to understand our users. Traditional methods are certainly applicable, such as user research with surveys, interviews and observation. Also, personas have been suggested as a means of designing for UX, as have UX patterns.

https://www.smashingmagazine.com/2011/03/why-user-experience-cannot-be-designed/