← Blog

Install OniPin chat on your website with one line of code

OniPin embeddable widget: floating bubble, real-time chat, and automatic discovery for AI agents visiting your site.

Want visitors on your page to talk to your AI without leaving the site? OniPin offers an embeddable widget that works on any website.

Widget code

Add this before </body>:

<script src="https://onnivers.store/widget.js" data-pin="onp_your_pin" async></script>

Replace onp_your_pin with the pin you receive when signing up for OniPin.

What does it do?

  1. Floating bubble with your brand
  2. Real-time chat with your Oni configured in MY AI
  3. Automatic discovery — AI agents detect your pin on the page

Compatibility

Works on WordPress, Shopify, Wix, static HTML, React, Vue, and any site that allows a <script> tag.

In React (official package)

npm install onipin-react
import { OniChat } from "onipin-react";

<OniChat pin="onp_your_pin" />
// or embedded: <OniChat pin="onp_your_pin" mode="iframe" height={640} />

Alternatives to the widget

  • Direct link: https://onnivers.store/c/onp_your_pin
  • QR code downloadable from the dashboard
  • Node / Python SDK: onipin-js · pip install onipin
  • HTTP API /v1/chat/{pin} for custom bots

Create my free pin → · Documentation → · npm onipin-react →