How can i cast to desired blueprint?

I have made grid blueprint, construct event looks like this:
All it does is making a grid out of static meshes, grid itself:

Now inside my gamemode i want to handle logic of spawning boxes on this grid, what should i use to make it work?