How to embed kibana dashboard in html code?

Did you see a warning popup shown while opening your link?

I'm not sure but it can be related.

This post might also be useful.

Regards, Dima