How to set `allow_embedding`?

I want to embed a certain dashboards for my end-user using public dashboard. I learned from How to embed Grafana dashboards into web applications | Grafana Labs that i need to set allow_embedding to true, how can I do so?

Add " - GF_SECURITY_ALLOW_EMBEDDING=true " into your DockerFile and rebuild your Grafana

To make embedding = true i cannot see embed opsition in my aws grafana why any one suggest me and why i cannot see all opsition in aws garfana compared to garfana cloud .