# Add script to shopware shop from a shopware app

**URL:** <https://forum.shopware.com/t/add-script-to-shopware-shop-from-a-shopware-app/104724>\
**Category:** Shopware 6 (English)\
**Created:** [1. August 2024 um 13:59 UTC](https://forum.shopware.com/t/add-script-to-shopware-shop-from-a-shopware-app/104724 "2024-08-01T13:59:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deng1](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/deng1/32/24268_2.png) [@deng1](https://forum.shopware.com/u/deng1)\
**Post date:** [1. August 2024 um 13:59 UTC](https://forum.shopware.com/t/add-script-to-shopware-shop-from-a-shopware-app/104724/1 "2024-08-01T13:59:34Z")

</div>

Hi,

I’m a developer of a shopware app, i want to add a script tag to my app clients’ shop, so that they dont need to do it manually.

More specifically, how can i add script like this:

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/9/6/9623c13675889d50e5a477d697e0be5c2d39c8cf.png)  
to a shopware shop from a shopware app?

I found this [Add Custom Javascript | Shopware Documentation](https://developer.shopware.com/docs/guides/plugins/plugins/storefront/add-custom-javascript.html), but it’s for plugins, can it also apply for apps?

Or should i use the script endpoint of admin api: [Create a new Script resources. | Admin API](https://shopware.stoplight.io/docs/admin-api/95606e629c30c-create-a-new-script-resources)?

I hope i described my situation clearly and look forward to your reply.

Best wishes

Deng
