# Completed my search ui app, node/react -- how do I deploy to website

**URL:** <https://discuss.elastic.co/t/completed-my-search-ui-app-node-react-how-do-i-deploy-to-website/226536>\
**Category:** Elasticsearch\
**Created:** [April 4, 2020, 7:44pm UTC](https://discuss.elastic.co/t/completed-my-search-ui-app-node-react-how-do-i-deploy-to-website/226536 "2020-04-04T19:44:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickdeckerdevs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickdeckerdevs/32/65669_2.png) [@nickdeckerdevs](https://discuss.elastic.co/u/nickdeckerdevs)\
**Post date:** [April 4, 2020, 7:44pm UTC](https://discuss.elastic.co/t/completed-my-search-ui-app-node-react-how-do-i-deploy-to-website/226536/1 "2020-04-04T19:44:17Z")

</div>

Hey all, I'm a little confused on this and I've been trying to find some resources on this but I just think I'm not searching for the right words as I am not sure what I'm really trying to do.

I'm trying to take my react app and embed it into a website. The website is HubSpot website so I don't have a server/backend that I can place these files. I was under the assumption that I was able to take this search ui ([https://github.com/elastic/search-ui](https://github.com/elastic/search-ui)) app after customizing it, and I would be able to embed this on my site but I'm not finding any resources on how to do this.

I realize this is likely more of a react question or a node question, but I'm really not sure exactly how this works.

If this is the wrong place, I apologize. Please let me know where you think I should be asking this.

---

<div class="post-metadata">

**Author:** ![nickdeckerdevs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickdeckerdevs/32/65669_2.png) [@nickdeckerdevs](https://discuss.elastic.co/u/nickdeckerdevs)\
**Post date:** [April 4, 2020, 8:00pm UTC](https://discuss.elastic.co/t/completed-my-search-ui-app-node-react-how-do-i-deploy-to-website/226536/2 "2020-04-04T20:00:00Z")

</div>

Okay, after typing this out I had a bit of an ah ha moment. From there I did `npm run build` and that created some JS and CSS files in my build folder.

I included them on my webpage and added a `<div id="root"></div>` and I have it running nicely. Is this the proper way to do this or am I doing something wrong or can this cause issues down the road?

thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 2, 2020, 8:00pm UTC](https://discuss.elastic.co/t/completed-my-search-ui-app-node-react-how-do-i-deploy-to-website/226536/3 "2020-05-02T20:00:05Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
