# Can i embed my Chatbot into my App

**URL:** <https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243>\
**Category:** Ask for Help\
**Created:** [February 8, 2022, 4:21am UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243 "2022-02-08T04:21:28Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenneth\_Onwuzolum](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kenneth_onwuzolum/32/38815_2.png) [@kenneth\_Onwuzolum](https://community.glideapps.com/u/kenneth_Onwuzolum)\
**Post date:** [February 8, 2022, 4:21am UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/1 "2022-02-08T04:21:28Z")

</div>

Good day all, Please, can i embed my chatbot into my app or embed any other pop up into the app?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 8, 2022, 4:47am UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/2 "2022-02-08T04:47:48Z")

</div>

You should be able to with a webview component as long as the site you are embedding does allow itself to be embedded.

---

<div class="post-metadata">

**Author:** ![kenneth\_Onwuzolum](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kenneth_onwuzolum/32/38815_2.png) [@kenneth\_Onwuzolum](https://community.glideapps.com/u/kenneth_Onwuzolum)\
**Post date:** [February 9, 2022, 4:26pm UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/3 "2022-02-09T16:26:00Z")

</div>

Thank you…but how do I embed…which function on Glide column can I use

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 9, 2022, 4:52pm UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/4 "2022-02-09T16:52:35Z")

</div>

You use a webview component on the screen. You can use any column, such as a text column or a link column. All you are doing is storing the url for your chat bot in a column. Then the web view component points to that column that contains the url. You can even place the url directly into the web view component settings by selecting ‘custom’. Then you wouldn’t need a column at all.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/9/7/97ef97fcb6bb068fdbfc4683b066ead581399b61.png)

* * *

![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/1/4/14caed562cc49fb604b752ff3bc1bb55f242621c.png)

---

<div class="post-metadata">

**Author:** ![kenneth\_Onwuzolum](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kenneth_onwuzolum/32/38815_2.png) [@kenneth\_Onwuzolum](https://community.glideapps.com/u/kenneth_Onwuzolum)\
**Post date:** [February 10, 2022, 4:55am UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/5 "2022-02-10T04:55:40Z")

</div>

Ok sir, but just one more confusion. You know, chatbots come with a code snippet like the one below, that’s the bot i want to embed in my app

```auto
<script>
  window.watsonAssistantChatOptions = {
      integrationID: " ********-**** - ****-**** - ************", // The ID of this integration.
      region: "eu-gb", // The region your integration is hosted in.
      serviceInstanceID: " ********-**** - ****-**** - ************", // The ID of your service instance.
      onLoad: function(instance) { instance.render(); }
    };
  setTimeout(function(){
    const t=document.createElement('script');
    t.src="https://web-chat.global.assistant.watson.appdomain.cloud/versions/" + (window.watsonAssistantChatOptions.clientVersion || 'latest') + "/WatsonAssistantChatEntry.js"
    document.head.appendChild(t);
  });
</script>

```

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [February 10, 2022, 6:16am UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/6 "2022-02-10T06:16:35Z")

</div>

Your code wasn’t showing up in your post because it wasn’t enclosed in code blocks. I fixed that for you so it shows now. I also hid your ID’s. I’m not sure if you wanted those to be shared with everyone.

Looks like you are trying to embed JavaScript. Glide will not allow that. If the chatbot provides an iframe embed option, then that would maybe work better. If not, then in some cases you can iframe embed a seperate website that contains the script. If the script you provided above is the only option, then I would look into using a third party web host that can host that on an embeddable web page, and then try to embed that page into your app using the webview component.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 10, 2022, 1:58pm UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/7 "2022-02-10T13:58:54Z")

</div>

Ya…you’ll need to find an embeddable chatbot…landbot is one such chatbot:

> [@exploding\_head Chatbot with Landbot.io!](https://community.glideapps.com/t/chatbot-with-landbot-io/9976):
>
> Is it possible to add a chat bot to the mobile application created on Glide? If yes, please send a link showing how to do this.

---

<div class="post-metadata">

**Author:** ![ehdubya](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ehdubya/32/24087_2.png) [@ehdubya](https://community.glideapps.com/u/ehdubya)\
**Post date:** [February 10, 2022, 2:32pm UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/8 "2022-02-10T14:32:45Z")

</div>

You could also find a web-page builder with an Embed Code function to embed the bot’s JavaScript, then use the url of that web-page in your webview component inside of Glide.

---

<div class="post-metadata">

**Author:** ![Robert\_Petitto](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/robert_petitto/32/25193_2.png) [@Robert\_Petitto](https://community.glideapps.com/u/Robert_Petitto)\
**Post date:** [February 10, 2022, 3:31pm UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/9 "2022-02-10T15:31:05Z")

</div>

This works…I’ve done this with Twitter widgets before…

---

<div class="post-metadata">

**Author:** ![Aymeric\_de\_Maussion](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/aymeric_de_maussion/32/29505_2.png) [@Aymeric\_de\_Maussion](https://community.glideapps.com/u/Aymeric_de_Maussion)\
**Post date:** [April 15, 2022, 1:54pm UTC](https://community.glideapps.com/t/can-i-embed-my-chatbot-into-my-app/38243/11 "2022-04-15T13:54:58Z")

</div>

I tried Joonbot and it works well 🙂
