Step-by-step guide
🤖 Cohere
Cohere
📘 Step-by-step guide 📘 Cohere · Coherebeginner 💼 Business

Build a simple chatbot for your small‑business site with Cohere

A step‑by‑step drag‑and‑drop guide that lets you add a friendly AI helper to answer common customer questions on your website.

Hook: By the end of this guide you’ll have a live chatbot on your website that can answer the most frequent customer queries – no coding required. It’s perfect for shop owners, service providers, or anyone who wants a quick, friendly AI assistant.

✅ Before you start
  • A free or paid Cohere account (sign‑up takes under a minute).
  • Access to your website’s HTML – for example, the ability to edit the footer or a page through your CMS (WordPress, Wix, Squarespace, etc.).
  • A list of the top 5 questions your customers ask (e.g., “What are your opening hours?”).
1

Create a Cohere account

Go to cohere.com and click the “Sign up” button. Fill in your name, email, and choose a password. You’ll receive a verification email – open it and confirm the account.

💬 Try typing this**Example:** Use `jane.doe@example.com` and a password you can remember, then click the link in the email.
2

Start a new chatbot project

  1. Once logged in, look for a Dashboard or Projects area – it’s usually a big button labelled “New Project”.
  2. Click it and pick “Chatbot” as the project type.
  3. Give the bot a name, like “ShopHelper”.
    Why? This creates a dedicated space where Cohere will store the language model (LLM – large language model, the brain behind the chatbot) and all your settings.
💬 Try typing this**Example:** Project name: `ShopHelper`.
3

Use the drag‑and‑drop builder to set up replies

Cohere provides a visual builder where you can drag blocks like “Question”, “Answer”, and “Condition” onto a canvas and drop them into order.

  1. Drag a “Question” block onto the canvas and type a common query, e.g., “What are your opening hours?”.
  2. Drag an “Answer” block right below it and type the response, e.g., “We’re open Monday‑Friday 9 am‑5 pm.”
  3. Repeat for each of your top questions.
    Why? This visual layout replaces writing code – you just tell the bot what to say when it hears a certain phrase.
💬 Try typing this**Example:**
  • Question block: “Do you ship internationally?”
  • Answer block: “Yes, we ship to Australia, New Zealand, and the UK.”
4

Turn the bot into a web widget

A widget is a small piece of interactive UI (user interface) that you can embed on any web page.

  1. In the builder, find the “Deploy” or “Export” tab – look for a button that says “Create widget”.
  2. Choose the style you like (size, colour, font). The system will generate a short snippet of HTML/JavaScript code.
    Why? This snippet is the bridge that lets your website talk to the Cohere LLM via an API (application programming interface – a way for two programmes to exchange data).
💬 Try typing this**Example:** The generated code might look like
<script src="https://widget.cohere.com/embed.js"></script>
<div id="cohere-chat"></div>
<script>
  CohereChat.init({
    container: "#cohere-chat",
    botId: "ShopHelper"
  });
</script>
5

Add the widget to your site

  1. Open your website’s editor and locate the part where you want the chat icon to appear – usually the footer or a “Contact us” page.
  2. Paste the snippet from Step 4 into the HTML area. Save and publish.
    Why? Once the page reloads, visitors will see a chat bubble that opens the AI assistant you just configured.
💬 Try typing this**Example:** In WordPress, go to **Appearance → Theme Editor → footer.php**, paste the code just before the `` tag, then click “Update File”.
⚠️ Common mistakes
  • Forgetting to publish the changes – the widget will not appear until the page is saved and live.
  • Leaving the answer blocks blank – the bot will respond with “I’m not sure” if it has no reply.
  • Using special characters in questions – keep wording simple; the LLM matches on plain text, not on emojis or symbols.
🚀 Try it now

Open your Cohere dashboard, click New Project, and create a single question‑answer pair (e.g., “Hello” → “Hi! How can I help you today?”). In the next two minutes you’ll have the foundation of a live chatbot ready to be embedded.

✦ Original step-by-step guide by AI World Co.'s AI editorial team. Written in plain language, reviewed for accuracy.

← Volver a las noticias