# Configuration (/docs/portal/webchat/configuration)





**Configuration** controls how the chat widget behaves on your website. Open **Webchat**, then
**Configuration**.

<img alt="Webchat Configuration" src="__img0" />

Behaviour [#behaviour]

| Setting                                 | What it does                                                                                                                                                                                                                       |
| --------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Open welcome links in**               | Where links in the welcome screen and pop-up open. **New tab** (the default), **Same tab**, or **Auto**, which opens links to your own site in the same tab and other sites in a new tab.                                          |
| **Dealer Name**                         | The dealership name shown in the widget                                                                                                                                                                                            |
| **Auto Pop-up delay (Seconds)**         | How long after a page loads the welcome pop-up opens. It doesn't open if the shopper has already opened or used the chat, or has closed the pop-up before.                                                                         |
| **Idle Time (Seconds)**                 | How long a chat can sit idle before the shopper is asked whether to stay signed in                                                                                                                                                 |
| **Idle Popup Time (Seconds)**           | How long that question counts down before the chat is reset                                                                                                                                                                        |
| **Rotation message duration (Seconds)** | How long each opening message shows on page types that rotate their messages. From 1.5 to 6 seconds. Leave it empty for the default of 3. See [Conversation Starters](/docs/portal/webchat/conversation-starters#rotate-messages). |

Switches [#switches]

| Switch                         | What it does                                                                                                              |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
| **Align Right**                | On puts the chat button on the right of the page. Off puts it on the left.                                                |
| **Track page views from user** | Tells the AI which page the shopper is on, and includes the page address when a shopper texts you from the widget         |
| **Enable Audio Support**       | Lets shoppers use voice in the chat. Desktop only.                                                                        |
| **Require User Contact Info**  | In the speech bubble welcome, the shopper is asked for their contact details, and the chat starts once they've given them |

Promotions [#promotions]

**Enable promotions** shows your current offers in the widget. Each offer has a button that opens
the chat already asking about it. Nothing is shown while you have no active
[promotions](/docs/portal/promotions), whatever is switched on here.

Choose where shoppers can open promotions from. At least one must be on:

| Switch                                    | Where it appears                                                                                                               |
| ----------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| **Gift icon beside the chat button**      | A second round button next to the chat button, while the chat is closed. The only one a shopper sees without opening the chat. |
| **Gift icon in the chat panel**           | In the welcome panel: in the header for the Window and Roundbox styles, under the avatar for Speech Bubble                     |
| **"Promotions" button in the action row** | A button at the start of your conversation starter buttons. It only shows on pages that already have buttons.                  |

The first time you turn on promotions, all three are switched on. Turn off the ones you don't
want. If promotions is on with none of the three, a warning says so.

Webchat Embed script [#webchat-embed-script]

This is the code that adds the widget to your website. Click the copy button beside the heading to
copy it, then follow the [installation guide](/docs/webchat/installation).

Turn on **Embed Script With Div** if your website needs the widget placed in a specific spot. The
script then comes as two lines: a `<dealerai-chat>` tag and the script that loads it.

The script already includes your dealership's ID. If you manage more than one dealership, check
the picker at the top of the page before copying it.

Saving [#saving]

Click **Save** at the bottom of the section. **Cancel** puts back what was last saved. Changes you
haven't saved are dropped if you open another section.
