# Is there an AI chatbot I can add with a single script tag?

**Yes. OneLineChat is a single script tag with one required attribute. There's no loader block, no init call and no npm package:**

```html
<script src="https://onelinechat.com/widget.js" data-key="olc_pub_YOUR_KEY" async></script>
```

**Put it just before `</body>`, or in your root layout.** Settings are attributes on the same tag: `data-color`, `data-greeting` and `data-position`. Changing the chatbot means changing one line of code, which any AI coding tool can do.

[Get a free key](/get-api-key) · [Install guide](/install)

---
Source: https://onelinechat.com/answers/one-line-chatbot-embed · Last updated: 2026-11-20 · All docs: https://onelinechat.com/llms.txt
