You’ve probably come across documentation sites with built-in AI chatbots, where users can ask questions and get answers directly from the docs. Here’s an example of what that looks like: With Coze, you can easily set this up. This article will walk you through the steps to add it. You can achieve this with Coze. Read on to learn how. Setting up the Chatbot Go to Coze Click on Workspace and then click on Create Agent. Enter your chatbot details and click on. Confirm. Choose a character/persona for your chatbot to embody in the Persona & promptsection. For the best results, use the optimize feature to improve your prompt: Add the contents of Your Doc Under Knowledge, Click on Text Click on Create Knowledge Add the details of your knowledge and click on Next You will be routed to another page, Click on Auto-collect Choose either Add One (add the doc sections one by one) or Batch Add (use the Base URL to get all the doc details) and click on Import. Note: Not all URLs can be batch added. If you encounter any errors using batch add, switch to Add One to add each section’s URL. Allow some time for all the sections in the doc to be imported After completion, click on Confirm Let all the URLs load and click on Next Click on Automatic Segmentation & Cleaning Let the server process all the URLs into text files and click on Confirm. Click on Add to agent to add the knowledge to your chatbot. Publish the Chatbot You will need to publish the chatbot and get the chatbot web SDK. Click on Publish. Scroll down and select Web SDK. Click on Publish Click on installation to copy the Web SDK Copy the code and add it to your documentation code base. You will see the chatbot icon on your doc like this: Click on it and start interacting with it The responses your users receive will be based on the information from the documentation. Trouble Shooting If there are any issues with the responses, go back to the knowledge section and check if all the documentation section URLs are added. If not, add the missing URLs using the Add One method. Conclusion Integrating an AI chatbot into your documentation site using Coze can significantly enhance user interaction by providing instant, relevant responses based on your documentation content. This tool not only improves user experience but also ensures that users have access to accurate information quickly. You’ve probably come across documentation sites with built-in AI chatbots, where users can ask questions and get answers directly from the docs. Here’s an example of what that looks like: With Coze, you can easily set this up. This article will walk you through the steps to add it. You can achieve this with Coze . Read on to learn how. Coze Setting up the Chatbot Go to Coze Click on Workspace and then click on Create Agent. Enter your chatbot details and click on. Confirm. Choose a character/persona for your chatbot to embody in the Persona & promptsection. For the best results, use the optimize feature to improve your prompt: Go to Coze Go to Coze Coze Click on Workspace and then click on Create Agent. Click on Workspace and then click on Create Agent . Workspace Create Agent Enter your chatbot details and click on. Confirm. Enter your chatbot details and click on. Confirm . Confirm Choose a character/persona for your chatbot to embody in the Persona & promptsection. For the best results, use the optimize feature to improve your prompt: Choose a character/persona for your chatbot to embody in the Persona & prompt section. For the best results, use the optimize feature to improve your prompt: Persona & prompt optimize Add the contents of Your Doc Under Knowledge, Click on Text Click on Create Knowledge Add the details of your knowledge and click on Next You will be routed to another page, Click on Auto-collect Choose either Add One (add the doc sections one by one) or Batch Add (use the Base URL to get all the doc details) and click on Import. Under Knowledge, Click on Text Under Knowledge, Click on Text Text Click on Create Knowledge Click on Create Knowledge Create Knowledge Add the details of your knowledge and click on Next Add the details of your knowledge and click on Next Next You will be routed to another page, Click on Auto-collect You will be routed to another page, Click on Auto-collect Auto-collect Choose either Add One (add the doc sections one by one) or Batch Add (use the Base URL to get all the doc details) and click on Import. Choose either Add One (add the doc sections one by one) or Batch Add (use the Base URL to get all the doc details) and click on Import . Add One Batch Add Import Note: Not all URLs can be batch added. If you encounter any errors using batch add, switch to Add One to add each section’s URL. Note: Not all URLs can be batch added. If you encounter any errors using batch add, switch to Add One to add each section’s URL. Add One Allow some time for all the sections in the doc to be imported After completion, click on Confirm Allow some time for all the sections in the doc to be imported Allow some time for all the sections in the doc to be imported After completion, click on Confirm After completion, click on Confirm Confirm Let all the URLs load and click on Next Let all the URLs load and click on Next Next Click on Automatic Segmentation & Cleaning Click on Automatic Segmentation & Cleaning Automatic Segmentation & Cleaning Let the server process all the URLs into text files and click on Confirm. Let the server process all the URLs into text files and click on Confirm . Confirm Click on Add to agent to add the knowledge to your chatbot. Click on Add to agent to add the knowledge to your chatbot. Add to agent Publish the Chatbot You will need to publish the chatbot and get the chatbot web SDK. Click on Publish. Scroll down and select Web SDK. Click on Publish . Publish Scroll down and select Web SDK . Web SDK Click on Publish Click on installation to copy the Web SDK Click on Publish Publish Click on installation to copy the Web SDK installation Copy the code and add it to your documentation code base. You will see the chatbot icon on your doc like this: Copy the code and add it to your documentation code base. You will see the chatbot icon on your doc like this: Click on it and start interacting with it Click on it and start interacting with it The responses your users receive will be based on the information from the documentation. Trouble Shooting If there are any issues with the responses, go back to the knowledge section and check if all the documentation section URLs are added. If not, add the missing URLs using the Add One method. Add One Conclusion Integrating an AI chatbot into your documentation site using Coze can significantly enhance user interaction by providing instant, relevant responses based on your documentation content. This tool not only improves user experience but also ensures that users have access to accurate information quickly.