Channels

Website: Embed Your Agent on Your Site

Connect your own website as a channel and your agent talks to visitors directly through a chat widget. Same agent, same workflow shape, same inbox, just a different sender, a visitor on your site instead of an Instagram DM or a WhatsApp message.

Connecting your website

  1. Go to Settings โ†’ Services and click Website.
  2. Enter your URL (for example, https://yoursite.com) and click Add Website.
  3. A snippet card appears with a single line of HTML, this is your embed snippet.
  4. Copy the snippet and paste it anywhere in your site's <head> or before </body>.

You can connect multiple websites. Each gets its own snippet, its own theme, and its own row in the list. The list shows the snippet again any time you need it, no need to keep it in a separate notes app.

The embed snippet

The snippet is a single line of HTML, no configuration object, no second script. Paste it once and forget about it. Theme color, greeting message, and visitor identity are configured in Direnium and applied automatically.

Building the workflow

After your website is connected, build a workflow that listens to it:

  1. Open Workflows and create a new one.
  2. Add the Web Chat โ€” New Message trigger and pick the website you just connected.
  3. Add an AI Agent node and configure its persona, abilities, and handoff rules. The agent profile you use for Instagram works here too.
  4. Wire downstream actions you want, create a contact, save a deal, send an email.
  5. Publish.

What visitors see

A floating chat bubble appears in the bottom-right of every page that has the snippet. Clicking it opens a panel with your greeting and a place to type. The agent answers in real time and the conversation persists across page reloads, so visitors who come back later pick up where they left off.

What the agent can do for anonymous visitors

Out of the box, anonymous web visitors can use a safe set of agent abilities, the same ones that make sense for someone you have not authenticated:

  • Knowledge Lookup, answer questions from your knowledge base.
  • Add Contact, save a new lead with the email or details the visitor provides.
  • Create Deal, drop a qualified lead into your pipeline.
  • Collect Field, ask the visitor for structured information.
  • Schedule Event, book a meeting on a connected calendar.
  • Send Email, notify your team about an interesting conversation.
  • Handoff to Human, hand the conversation off to your inbox when needed.

Abilities that act on existing customer data, look up a specific contact's record, update an existing deal, query the CRM, are reserved for authenticated visitor sessions, where your backend has signed a token telling Direnium who the visitor really is. Without that, the workflow refuses to publish, so it is impossible to accidentally expose customer data to anonymous traffic.

Allowed domains

When you add a website, Direnium automatically allows that domain (and its apex). The widget will only run from those origins, so a stolen snippet pasted on someone else's site does not work. Add additional domains (for example, a staging environment) from the website's settings.

Pausing the widget

If you ever need to stop the widget instantly, on every page where the snippet is pasted, you can pause it from Direnium. Visitors see a friendly fallback message until you resume. Use this for maintenance, content reviews, or anything else where you want the agent quiet but do not want to remove the snippet from the site.

Conversation history

Web chat conversations land in the same Inbox as Instagram, WhatsApp, and the rest. Filter by source if you want to see only website chats. Handoffs and learning rules work the same way, when you respond differently than the agent would have, Direnium proposes a guideline you can add to the agent profile.

Was this helpful?

Want to see it in action?

Tell us your use case ยท English or Hebrew ยท No signup needed

Talk to us