Build a simple chatbot for your small‑business site with Cohere
A step-by-step guide to setting up an AI chatbot on your website using Cohere's visual builder – no coding needed!
By the end of this guide, you’ll have a live chatbot on your website ready to answer your most common customer questions, all without needing to write any code. This is perfect for small business owners, service providers, or anyone wanting a friendly AI assistant to help their customers 24/7.
- Cohere Account: A free or paid Cohere account. Signing up usually takes less than a minute. The steps in this guide work with a free plan, though paid plans offer more advanced features or higher usage limits.
- Website Access: You'll need access to your website's editor, specifically where you can add custom HTML (HyperText Markup Language – the code that structures web pages). This might be in your website's Content Management System (CMS) like WordPress, Wix, Squarespace, or Shopify, allowing you to edit footer or page code.
- Common Questions: A list of the top 3-5 questions your customers frequently ask (e.g., "What are your opening hours?", "Do you offer international shipping?").
- Time: Allow approximately 20-30 minutes to complete this guide.
Create your Cohere account
Start by visiting cohere.com in your web browser. You'll see the Cohere homepage, likely with a prominent "Sign up" or "Get started" button. Click this button to begin the registration process. Follow the on-screen prompts to enter your name, email address, and choose a strong password. After submitting, you'll usually receive a verification email – open it and click the link inside to confirm your new account.
If it looks different: If you can't find a "Sign up" button, look for "Log in" and then a smaller link to "Register" or "Create an account."
You'll know it worked when you are redirected to a success page or automatically logged into the Cohere platform.

Start a new chatbot project
Once logged into Cohere, you'll likely see a main Dashboard or Projects area, which acts as your central workspace. Look for a large button or link that says "New Project" or "Create Chatbot." Click this to start building your AI assistant. You'll then be prompted to select the type of project you want to create; choose "Chatbot" or a similar option. Next, you'll need to give your chatbot a clear name, like "ShopHelper" or "SupportBot." This name helps you identify your project later and won't be visible to your website visitors.
If it looks different: The "New Project" button might be in a sidebar menu, at the top of the screen, or represented by a "+" icon. Just look for a clear option to start something new.
You'll know it worked when you see a new project workspace open, ready for you to add content to your chatbot.

Build conversations with the visual editor
Cohere provides a visual, drag-and-drop editor where you can easily design how your chatbot responds. Imagine a whiteboard where you arrange conversation "blocks." First, find the "Add Block" or "+" button to add your first "Question" block. Type one of your common customer queries into this block, such as "What are your opening hours?". Then, drag an "Answer" block directly below it and type the correct response, for instance: "We're open Monday-Friday 9 am-5 pm, and Saturday 10 am-3 pm." Repeat this process for each of your top questions, building a simple conversation flow for your bot. This visual approach lets you "teach" the bot without writing complex code.
If it looks different: The layout of the blocks might vary slightly, but the core idea of connecting questions to answers remains the same. Look for clear labels like "Question," "Response," or "Message."
- Answer block: “Yes, we ship to Australia, New Zealand, and the UK. Shipping costs are calculated at checkout.” You'll know it worked when you see your question and answer blocks visually linked together on the canvas, forming a basic conversation path.

Generate your web widget code
A widget is like a small, self-contained mini-app that you can embed directly onto your website. Once you've set up a few question-and-answer pairs, you'll need to turn your chatbot into this embeddable widget. Look for a "Deploy," "Publish," or "Embed" tab or button within your Cohere project interface. This section is usually dedicated to getting your chatbot onto other platforms. Here, you'll find options to create a web widget. You might even be able to customise its appearance (like its size, colour, or where it sits on your screen). After you've made your choices, Cohere will automatically generate a snippet of code, typically a combination of HTML and JavaScript. This code is the essential link that allows your website to communicate with your new AI assistant.
If it looks different: The exact location of the "Deploy" or "Embed" option might be in a sidebar or a top-level menu item. Don't worry if the customisation options look slightly different; the key is to find the generated code.

Add the widget to your website
Now it's time to put your chatbot on your live website. Log into your website's Content Management System (CMS) like WordPress, Wix, or Squarespace. Navigate to the area where you can edit the HTML code of your pages or the site's footer. This is often labelled "Theme Editor," "Custom Code," or "Embed Code." Paste the code snippet you copied from Cohere (in Step 4) into this designated HTML area. A common and effective place is just before the closing </body> tag in your site's footer, as this ensures the chat icon appears on every page. After pasting, be sure to save and publish your changes to make them live.
If it looks different: In some CMS platforms like Wix or Squarespace, you might look for an "Embed Block" or "Custom Code" section within your page editor. On WordPress, you might go to Appearance → Theme File Editor → footer.php (or a similar template file) and paste the code there.
