> For the complete documentation index, see [llms.txt](https://help.botpenguin.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.botpenguin.com/ai-agents/settings.md). Agents can also search and read this documentation through its [MCP server](https://help.botpenguin.com/~gitbook/mcp).

# Settings

General settings decide how your AI agent behaves in a chat: how long a session lasts, which options visitors see, which language it uses and where the chat window sits. Each channel has its own tab. The Web Platform tab has the most options, so most of this guide is about it.

### Prerequisites

* An AI agent. See Create your first AI Agent.
* Edit access to AI Agents to change settings. \[CHECK: confirm the plan and role needed.]
* Basic CSS knowledge, only if you use the custom CSS options.

### Key definitions

| Term              | Meaning                                                                         |
| ----------------- | ------------------------------------------------------------------------------- |
| Session           | One visit of a person talking to your agent. It ends after the session timeout. |
| Live chat request | A visitor asking to talk to a person.                                           |
| Agent white label | Hiding BotPenguin branding in the chat window.                                  |
| Launcher icon     | The round button that opens the chat on your site.                              |
| CTA               | A short call-to-action message next to the launcher icon.                       |

### Steps

1. Open **General** under Settings in the AI Agent sidebar. The tabs at the top are Web Platform, WhatsApp, Facebook, Instagram, Telegram and Voice. The Web Platform tab opens first. Use Show more tabs if a tab is hidden.

![Open General and choose a tab](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/ggjmNHGG2tPzCQC1njIN/images/settings-step-1.png)

2. On Web Platform, the first section, **Settings**, is open. Set the Session timeout and its unit, the Time zone and the Chat window message history. Choose the Agent appearance sound and the Widget icon sound. Turn on Send session summary email, and Send returning user session summary email, if you want them.

![The Settings section of the Web Platform tab](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/L3ZNDb1g27j45ITUO1i9/images/settings-step-2.png)

3. Open **Chat screen**. Turn on or off Request live chat, Restart chat session, Rate the conversation screen, Agent white label and Show AI disclaimer. Use Manage URL list to allow or block pages, and Manage country list to allow or block countries.

![The Chat screen section](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/HIZgkU98oUyf3p3b3iye/images/settings-step-3.png)

4. Open **Language and default text**. Choose the Agent language. Click **Manage text** to change the words visitors see, such as the rating screen text, the message box placeholder, the error message and the AI disclaimer.

![The Language and default text section](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/unhNcLblYz2qniceb5AF/images/settings-step-4.png)

5. Open **Layout**. Choose the Window size, for example Medium (440 × 750 px), and the position of the chat on computer and on mobile, for example Bottom right. Use Resize chat window to set your own size.

![The Layout section](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/p2qSQ70w64KBa3p1LQmW/images/settings-step-5.png)

6. Open **Advanced**. Here you can add your own CSS for the chat window and for the launcher icon. You can also capture the visitor's IP and device, and their page and source, and set when the chat opens by itself. You can set which devices are supported, hide parts of the landing page and website chat, and add a CTA.

![The Advanced section with the custom CSS fields](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/PtmzYbIXB8MvWctkK6K7/images/settings-step-6.png)

7. Click the **WhatsApp** tab. WhatsApp, Facebook, Instagram and Telegram have the same options: Session timeout and its unit, Live chat request expiry time (seconds), Live chat unavailability message and the two session summary email switches.

![The WhatsApp tab](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/rj0anX0VvlSxdtlQSjuW/images/settings-step-7.png)

8. Click the **Voice** tab. In General, turn on Enable voice mode and set how calls behave. Advanced has finer voice options. On every section, click Reset to default to go back to the standard values, Update to save, or Update & Next to save and go to the next section.

![The Voice tab](https://content.gitbook.com/content/APDb8cKQtGlIAfgHjcsQ/blobs/psaGbj2ryibtgKY2qcG2/images/settings-step-8.png)

### Use custom CSS

Custom CSS lets you change the look of the chat window or the launcher icon beyond the standard options. Basic CSS knowledge helps. Ask a developer for complex changes.

1. Install your agent on a test website.
2. Right-click the chat window or the launcher icon and choose Inspect.
3. Copy the class (starts with a dot) or the ID (starts with a hash) of the part you want to change.
4. Open General → Web Platform → Advanced. Paste it into Custom CSS for chat window or Custom CSS for launcher icon, and add your style rules in curly braces.
5. Click Update. Reload your website to see the change.

Example for the launcher icon: `.botpenguin-launcher { background: black; }`. Example for the chat window: `#bp-chat-window { background-color: #f5f5f5; }`.

Test on a separate site first. Wrong CSS can break the layout or hide elements. Do not hide the launcher icon, because visitors may not be able to open the chat. Custom CSS applies only to the agent where you add it.

### Common errors

<details>

<summary>My changes do not show</summary>

Click Update to save. Reload the page where your agent is installed.

</details>

<details>

<summary>The chat window looks wrong after I added CSS</summary>

Your CSS may conflict with the page. Remove the last rule you added, click Update and reload. Use Inspect to check the class or ID.

</details>

<details>

<summary>Visitors cannot start a live chat</summary>

Check that Request live chat is on. Check the Live chat request expiry time and that your team is available.

</details>

<details>

<summary>The agent does not show on some pages or in some countries</summary>

Open Chat screen and check Manage URL list and Manage country list. A page or a country may be blocked.

</details>

<details>

<summary>The launcher icon is gone</summary>

Check your CSS for a rule that hides it. Remove the rule and click Update.

</details>

<details>

<summary>I cannot change the settings</summary>

You need edit access to AI Agents. Ask an account owner to change your role.

</details>

### Support

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