Rinkoto

Installing the widget on your site

The widget is a single line of code. Below is the snippet, platform-specific instructions and how to check that everything works.

To install Rinkoto chat, paste one <script> line containing your site key before the closing </body> tag. The widget appears in the bottom-right corner as soon as the page is saved — no plugins and no build step required.

The embed code

Your key (the data-tenant value) is in your dashboard under “Embed code”. The key is public by design and is safe to keep in page source.

<script src="https://app.rinkoto.com/widget.js" data-tenant="pk_ваш_ключ" data-api="https://app.rinkoto.com"></script>

Place the snippet before the closing </body> tag so it never delays rendering.

Installation steps

  1. 1

    Copy your embed code

    Log in to the dashboard and open “Embed code” — it contains a ready-made snippet with your key.

  2. 2

    Add your domain to the allowed list

    In settings, add the address where the widget will run. This stops your key from being used on other people’s sites.

  3. 3

    Paste the code on your site

    Put the line before the closing </body> tag on every page that needs chat.

  4. 4

    Verify it works

    Open your site, click the chat button and send a test question. The AI reply should arrive within a few seconds.

  5. 5

    Set up appearance and hours

    In the dashboard choose colour, icon, window shape and position, and set your business hours and after-hours message.

Platform instructions

WordPress
Appearance → Theme File Editor → footer.php, paste the snippet before </body>. If your theme updates often, use a “insert code in footer” plugin instead.
Webflow
Project settings → Custom code → Footer code, paste the snippet and publish the site again.
Shopify
Online store → Themes → Edit code → theme.liquid, add the snippet before the closing </body> tag.
Custom site
Add the line to your shared page template (layout or footer include) before the closing </body> tag.

Installation questions

The widget does not show up — what should I check?
Three things: the snippet really is in the page HTML (check the page source), your domain is on the allowed list in the dashboard, and the browser console shows no script loading errors. An empty domain list is the most common cause.
Can I show the widget on some pages only?
Yes. The widget appears wherever the snippet is present, so add the line only to the templates you want.
Will the widget slow my site down?
The bundle is about 30 KB and loads asynchronously without blocking rendering. It is isolated in a Shadow DOM, so it does not conflict with your styles or scripts.
Is it safe to keep the key in page source?
Yes — the key is public by design and only identifies which site the chat belongs to. It grants no access to conversations or settings, and the allowed-domains list stops it being used elsewhere.