For the complete documentation index, see llms.txt. This page is also available as Markdown.

Website & Mobile Application

You can put your AI agent on your website, inside a mobile app, on a page BotPenguin hosts for you, or in any page that accepts an iFrame. Each option has its own section below. Pick the one you need. The agent then answers visitors around the clock and sends every chat to your BotPenguin Inbox.

Prerequisites

  • An AI agent that is set up. See Create your first AI Agent.

  • For a website, a mobile app or an iFrame: access to the code of the place where you want the agent. If you are not a developer, you can send the code to one, or ask the support team. [CHECK: confirm the plan and role needed.]

  • The address of your website, or the bundle or package ID of your app, to verify the install.

Key definitions

Term
Meaning

Installation code

A short piece of code that adds the agent to your website, app or page.

Bundle or package ID

The unique name of your mobile app, for example com.example.app.

Landing page

A standalone page hosted by BotPenguin where visitors chat with your agent.

iFrame

A way to show one web page inside another.

Verify

A check that the agent is installed where you said it is.

Open Website & Mobile App

Click Website & Mobile App under Channels in the AI Agent sidebar. The page lists your connected channels. Click Connect another channel to add a new one. In the guided setup, choose where to install and follow the section below.

Click Connect another channel on Website & Mobile App

Install on a website

  1. Choose Website on the Install on step, then click Continue.

Choose Website on the Install on step
  1. Choose the type of website you have: It's custom built, WordPress, Shopify, Wix, Squarespace or None / Not sure. This example uses WordPress. Click Continue.

Choose your website type
  1. Under Get Agent Installation Code, click Copy. Paste the code into your website's HTML, just before the closing </body> tag. On WordPress, Shopify, Wix and Squarespace, use the place where the platform lets you add code to every page, such as the header or footer. Publish the change.

Copy the installation code
  1. Under Enter your website URL, type the address of the site. Click Verify. When the check passes, your agent is live. Click Finish.

Enter your website address and click Verify

Not a developer? Under Share Installation Code you can send the code to a developer. Under Ask Support Team to install you can raise a request for the BotPenguin team.

Install in a mobile app

  1. Choose Mobile app on the Install on step, then click Continue.

Choose Mobile app on the Install on step
  1. Choose the type of app: iOS, Android, React Native or Other app. This example uses iOS. Click Continue.

Choose your app type
  1. Under Get Agent Installation Code, click Copy and add the code to your app. Under Enter your app's bundle or package ID, type the ID. Click Verify, then Finish.

Copy the code, enter your app ID and click Verify

Share a landing page

  1. Choose Landing page on the Install on step, then click Continue.

Choose Landing page on the Install on step
  1. A unique link to your landing page appears. Click Preview to see the page. Click Copy URL and share the link wherever visitors should chat with your agent. Click Finish.

Preview the landing page and copy its URL

Embed with an iFrame

  1. Choose iFrame on the Install on step, then click Continue.

Choose iFrame on the Install on step
  1. Under Get Agent Installation Code, click Copy. Paste the code into the HTML of the page where the agent should appear. Under Enter the URL of the page where you embedded it, type the address and click Verify. Click Finish.

Copy the iFrame code, enter the page address and click Verify

[CHECK: the old page says the first step is Agent → Install Agent → Website → Next, then a platform page, then Copy. The prototype uses Channels → Website & Mobile App → Connect another channel. Confirm the path.]

[CHECK: the old page lists the same platforms (Custom Built, WordPress, Shopify, Wix, Squarespace, Not Sure) and gives no separate steps for each. The prototype shows one set of instructions for every platform. Confirm whether per-platform steps are needed.]

[CHECK: the old page says the script is lightweight and loads asynchronously and does not slow the site. Confirm before keeping this claim.]

Common errors

Verify fails

Check that the code is pasted and published, and that it is not blocked by a speed or caching plugin. Check that the address you typed is the page where the code is. Then click Verify again.

Where should I paste the code?

Paste it just before the closing `` tag. You can also use the global header or footer area of your platform.

Do I need to know how to code?

Basic access to your website's backend is enough. Most platforms have a place to add code. You can also send the code to a developer or ask the support team.

The agent does not appear on my site

Clear your browser cache and reload the page. Check that the agent is switched on. Check that you did not paste the code on a page that is not live.

Can I use more than one option for the same agent?

Yes. Connect another channel and add the next option. Each one shows in Connected channels.

Support

Still not working? Write to us at support@botpenguin.com. We will reach out to you within 24 hours.