Do I need permission to embed an announcement bar?

Hi everyone,

I have a question about auto embedding. I want to create an announcement bar that when someone downloads the app it automatically embeds an bar right under their body tag. I see other apps do that and I want to follow them.

But do I need certain permissions from the user? Chat GPT said I need the user to give authorization ? Could anyone guide me to the documentation for that please?

Thank you

Would you be looking for info to use the Asset API? The Asset API resource (legacy)

Ideally you should aim to achieve this using theme app extensions though: About theme app extensions