Hi @mitoo,
There are different permissions that need to be setup for registered embedding as opposed to anonymous embedding so I would suggest against following one for anonymous and then modifying.
Here is an overall guide to embedding; there’s a hands-on workshop for registered user-based embedding that you can look into as well as other guides and documentation that will help walk you through the process.
I’ve also included a link below to a Quick Sight Learning Series that takes a deep dive in to all things embedding.