The Vivado Design Suite is a board-aware. The tools know the various components present on the target board and can customize an IP to be instantiated and configured to connect to the components of a particular board.
The IP integrator shows all the components present on the board in a separate tab called the Board tab.
When you use this tab to select components and the designer assistance offered by IP integrator, you can easily connect your design to the components of your choice. I/O constraints are automatically generated as a part of using this flow.
See section Using the Board Flow in the Vivado Design Suite User Guide: Designing IP Subsystems using IP Integrator (UG994) for more information.