Our logo

Ornymo Agent setup

Get your AI agent live on your website in two steps.

01

Set up your agent

Go to the Ornymo Dashboard, configure your agent, and complete the setup. Once it's ready, integrate it into your website with the Ornymo JavaScript widget.

02

Add the script to your site

Replace YOUR_BUSINESS_NAME with the business name you configured in your dashboard.

<script
  src="https://www.ornymo.com/widget.js"
  data-business-Name="YOUR_BUSINESS_NAME">
</script>

Example HTML page

<!DOCTYPE html>
<html>
<head>
  <title>My Website</title>
</head>

<body>

  <h1>My Website</h1>

  <script
    src="https://www.ornymo.com/widget.js"
    data-business-Name="YOUR_BUSINESS_NAME">
  </script>

</body>
</html>

Once the script is added, the Ornymo widget loads automatically.

React integration

If you're using React, inject the script programmatically instead:

import { useEffect } from "react";

export default function OrnymoWidget() {
  useEffect(() => {
    const script = document.createElement("script");
    script.src = "https://www.ornymo.com/widget.js";
    script.dataset.business-Name = "YOUR_BUSINESS_NAME";
    document.body.appendChild(script);

    return () => {
      document.body.removeChild(script);
    };
  }, []);

  return (
    <div>
      <h1>My Website</h1>
      <p>Ornymo widget will load automatically.</p>
    </div>
  );
}