<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: NewAICodes</title>
    <description>The latest articles on DEV Community by NewAICodes (@newaicodes).</description>
    <link>https://dev.to/newaicodes</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4114190%2Fc70959e4-60c3-4e2b-b22a-2de985731434.jpg</url>
      <title>DEV Community: NewAICodes</title>
      <link>https://dev.to/newaicodes</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/newaicodes"/>
    <language>en</language>
    <item>
      <title>Building a Business-Trained Website Chatbot: Architecture and Product Lessons</title>
      <dc:creator>NewAICodes</dc:creator>
      <pubDate>Mon, 07 Sep 2026 15:26:44 +0000</pubDate>
      <link>https://dev.to/newaicodes/building-a-business-trained-website-chatbot-architecture-and-product-lessons-jjm</link>
      <guid>https://dev.to/newaicodes/building-a-business-trained-website-chatbot-architecture-and-product-lessons-jjm</guid>
      <description>&lt;p&gt;I’m building &lt;strong&gt;NewAICodes Chatbots&lt;/strong&gt;, a platform that helps businesses add an AI assistant to their websites. This post explains the product decisions behind it—especially tenant identity, business knowledge, and simple website integration.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem we wanted to solve
&lt;/h2&gt;

&lt;p&gt;A business website may contain useful information, but visitors still have to search several pages, submit a form, or wait for a reply. A website chatbot can shorten that path by answering common questions, explaining services, and guiding visitors toward the next step.&lt;/p&gt;

&lt;p&gt;The hard part is not simply placing a chat window on a page. A useful business chatbot needs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Knowledge approved by the business&lt;/li&gt;
&lt;li&gt;Instructions and branding for that specific organization&lt;/li&gt;
&lt;li&gt;Persistent configuration and conversation records&lt;/li&gt;
&lt;li&gt;A way to monitor usage and follow up on enquiries&lt;/li&gt;
&lt;li&gt;Straightforward installation on the customer’s website&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The basic architecture
&lt;/h2&gt;

&lt;p&gt;At a high level, the workflow is:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A registered business user creates a chatbot.&lt;/li&gt;
&lt;li&gt;The user adds business knowledge, instructions, appearance, and a welcome message.&lt;/li&gt;
&lt;li&gt;The platform stores that configuration under the user’s account.&lt;/li&gt;
&lt;li&gt;An embed code connects the chatbot to the business website.&lt;/li&gt;
&lt;li&gt;Website visitors interact with the chatbot.&lt;/li&gt;
&lt;li&gt;The registered user manages conversations and usage from the platform.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This keeps the website experience simple while the configuration, knowledge, and management tools remain inside the authenticated application.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why chatbot creation requires registration
&lt;/h2&gt;

&lt;p&gt;We intentionally do not allow anonymous visitors to create or test a chatbot.&lt;/p&gt;

&lt;p&gt;A chatbot is not a disposable text box. It needs an owner because the platform must associate the bot with its configuration, knowledge base, instructions, usage data, and conversation information. Requiring a user identity also makes it possible to keep each customer’s chatbot resources separated and manageable.&lt;/p&gt;

&lt;p&gt;The public landing page explains the product, while registered users can access chatbot creation and testing.&lt;/p&gt;

&lt;p&gt;For a multi-tenant product, this is an important design principle: every chatbot-related operation should be scoped to the authenticated user and the chatbot they are authorized to manage. That ownership check belongs on the server, not only in the interface.&lt;/p&gt;

&lt;h2&gt;
  
  
  Business knowledge makes the assistant useful
&lt;/h2&gt;

&lt;p&gt;A general AI model may answer broad questions, but a business chatbot needs company-specific context. The chatbot should be guided by the organization’s own knowledge and operating instructions.&lt;/p&gt;

&lt;p&gt;This can help it handle tasks such as:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Answering frequently asked questions&lt;/li&gt;
&lt;li&gt;Explaining products and services&lt;/li&gt;
&lt;li&gt;Collecting enquiries and potential leads&lt;/li&gt;
&lt;li&gt;Supporting appointment-booking workflows&lt;/li&gt;
&lt;li&gt;Giving consistent, business-approved information&lt;/li&gt;
&lt;li&gt;Preserving conversation history for management and follow-up&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The quality of the knowledge supplied by the business remains important. Clear source material and focused instructions usually produce a more useful customer experience than a large collection of unstructured text.&lt;/p&gt;

&lt;h2&gt;
  
  
  Simple website integration matters
&lt;/h2&gt;

&lt;p&gt;Many small businesses depend on a web designer, freelancer, or agency to maintain their site. Integration therefore needs to fit existing websites without requiring a full rebuild.&lt;/p&gt;

&lt;p&gt;NewAICodes provides an embed approach so that a configured chatbot can be added to a website with a small installation step. The business manages the chatbot in the platform, while the website displays it to visitors.&lt;/p&gt;

&lt;p&gt;This model can also help web-development agencies offer chatbot setup and ongoing support as an additional service to their existing customers.&lt;/p&gt;

&lt;h2&gt;
  
  
  Product lessons from the build
&lt;/h2&gt;

&lt;p&gt;A few lessons have stood out during development:&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Ownership should be designed early
&lt;/h3&gt;

&lt;p&gt;Authentication is not just a login screen. The user, chatbot, knowledge, conversations, and usage records need a clear ownership relationship throughout the data model and API.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Configuration should be understandable
&lt;/h3&gt;

&lt;p&gt;Business users should be able to recognize what they are changing: welcome message, knowledge, instructions, appearance, and enabled workflows. Clear controls are more valuable than exposing every possible model parameter.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. The landing page and application have different jobs
&lt;/h3&gt;

&lt;p&gt;The landing page should explain who the product is for and why it matters. The authenticated application should focus on creating, testing, embedding, and managing the chatbot.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Agencies are an important distribution channel
&lt;/h3&gt;

&lt;p&gt;A web agency already understands its customers’ websites and business goals. Giving agencies a simple way to demonstrate and install a chatbot can be more effective than asking every small business owner to become an AI specialist.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where we are now
&lt;/h2&gt;

&lt;p&gt;NewAICodes Chatbots is available for businesses and web professionals to explore. We are particularly interested in practical feedback from website designers, digital agencies, and small-business teams.&lt;/p&gt;

&lt;p&gt;You can learn more here:&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://newaicodes.com/chatbots" rel="noopener noreferrer"&gt;Explore NewAICodes Chatbots&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you build websites for clients, I would also be interested to hear which chatbot features make the biggest difference in your projects: support, lead capture, appointment workflows, or something else?&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>saas</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
