---
title: "Turn on the AI chatbar"
description: "Add a floating bar to your website where people can ask a question without opening the messenger first."
url: https://help.gleap.ai/fr/articles/273-turn-on-the-ai-chatbar
collection: "Messenger"
updated: 2026-11-20
language: fr
alternates: [en]
---

# Turn on the AI chatbar

Add a floating bar to your website where people can ask a question without opening the messenger first.

The AI chatbar is a slim input that floats on your website, outside the messenger. Someone with a question can type it straight away instead of finding the launcher, opening the messenger and picking an option. It's the shortest path from "I'm stuck" to an answer, so it tends to raise the number of questions asked and lower the number that reach your team.

The chatbar is part of the web SDK. Project admins set it up.

### Switch it on

1.  Go to **Settings → Widget → AI chatbar** and turn on **Enable AI chatbar**.
    
2.  Write a **Placeholder**: the hint shown in the empty bar.
    
3.  Under **Quick actions**, click **Add quick action** for each conversation starter you want shown above the bar.
    
4.  Under **Style**, pick a **Theme**: Light glow, Light, Dark glow or Dark.
    
5.  Optional: under **Action**, pick a live **Workflow** to hand new conversations to.
    
6.  Click **Save**. This page doesn't save automatically.
    

The chatbar appears on your site the next time a page loads.

![Widget ai chatbar screen in the Pied Piper demo project.](https://staticfiles.gleap.io/p613b5dd730aed737108f87ab/1ABM1Cvst7oWHbJCCjQm2MaEEuYJbmTWvmNYv0TfHclF8AGv8DTkfOa9RlO4SI0CLISbGLr6eVw.png)

### Write a good placeholder and quick actions

The placeholder does real work. "Ask a question" invites anything, while "Search help articles" makes people type keywords. Ask for what you want.

For quick actions, use the questions you actually get most, taken from your inbox rather than from what you'd like people to ask. When several qualify, Gleap shows two of them at random.

### Show it to the right people

Each quick action has its own **Audience type** (all people, users only or leads only), **Audience filter** and **Page filter**, so you can suggest different questions to different people and on different pages. There's no audience setting for the bar as a whole; to keep it away from some people or screens, hide it from your code (below).

On the Agentic widget versions, the "Ask me anything" box on the messenger's home screen belongs to the messenger, not to this chatbar. It stays visible when the chatbar is off.

### Control it from your code

Show and hide the bar yourself, for example for visitors who aren't signed in or on screens where it would be in the way:

```javascript
Gleap.hideAiChatbar();
Gleap.showAiChatbar();
```

The placeholder and quick actions can also be set at runtime. On pages about one area, suggesting billing questions on the billing screen beats a generic prompt everywhere:

```javascript
Gleap.setAiChatbarPlaceholder("Ask about your invoice");
Gleap.setAiChatbarQuickActions([
  "Where can I find my invoices?",
  "How do I change my payment method?"
]);
```

> **Info:** A question asked in the chatbar starts a normal conversation, answered with the same knowledge Kai uses everywhere else. If the answers are poor, the fix is in your content, not in these settings.

### Related

-   [Design your messenger](https://help.gleap.ai/en/articles/269-design-your-messenger.md)
    
-   [How Kai decides what to answer](https://help.gleap.ai/en/articles/235-how-kai-decides-what-to-answer.md)
    
-   [Fix a wrong answer](https://help.gleap.ai/en/articles/245-fix-a-wrong-answer.md)
    
-   [Control the messenger from your code](https://help.gleap.ai/en/articles/364-control-the-messenger-from-your-code.md)
