I’ll leave the solution I found here, in case anyone has the same question.
First I created a click event on the board using the tip that Trastrastras sent and I cast it with the camera blueprint to call the event in which I can take control of it:
In the camera event I disabled character control so I can now have camera control:
And still in the same event I set the camera rotation with the X and Y movement of the mouse as follows:
Thanks for your help, I hope it helps someone else