WordPress will set related products to that main product automatically based on tags , category etc. But if you want to add custom related products then this guide have shown a method on how to do it.
Once you open this article scroll down below and there you will see change/add related products. So follow the steps mentioned in this method and in this way you can add custom related products