Osirus AI is a handy widget built with React that offers quick access to documentation, APIs, contact information, and more. In this blog post, we'll guide you through the process of setting up the Osirus bot via CDN, making it a breeze to integrate into your web project.
If you have a web app with multiple pages where each one triggers a new page refresh then you can simply copy and paste the snippet below before the </body>
tag on every page or in your app HTML base template.
<script src="https://bot.osirus.ai/lib/umd/osirusai.min.js" type="text/javascript"></script>
<script type="text/javascript">
OsirusBot.init(options);
</script>
Before finalizing the installation, make sure to configure your bot according to your specific needs. You can define various options, such as the bot's name, company name, logo, colors, description, and more. This customization allows you to tailor the bot to match your branding and user experience requirements.
You have two options for initializing the bot: