Here’s what I managed to do following your advice.
@MaouKuro you might want to try it. I basically followed the documentation, always learn something new in the process.
Created a new actor and added Cube static mesh. Created a material with white color vector and named it colour. Then created a material instance. Below is the code inside my cube actor.