For illustration instructions are given in terms of being built on a breadboard. This is not recommended except for development and test purposes.
As long as the components are connected in same manner any reliable method may be used such a printed PCB or soldered wires.
Choose the sensor and connection method from the following list for the instructions for the chosen CO2 sensor.