Build your first bot

Get your first AI chatbot trained and live on your website in under 15 minutes — no code required.

~15 minutes Free

Before you start

You'll need:

  • A DGbot account (sign up free at your DGbot URL)
  • Your website URL — the bot will train on your public pages
  • Access to edit your website's HTML (or your CMS)

No code knowledge required for this guide.


Steps

1
Create a new chatbot

Log in to the admin panel and click New chatbot from the dashboard.

Open Dashboard in admin
get-started/quickstart-dashboard Screenshot needed — save as: _assets/images/get-started/quickstart-dashboard.png

The Dashboard before any bots are created. Click New chatbot to begin.

2
Give your bot a name and set its tone

Enter a display name — visitors will see this in the chat widget. Set the conversation tone: Friendly, Professional, or Concise.

Match your brand voice
Use your company or product name. A bot named "Acme Support" feels more trustworthy than one named "Bot".
Open Bot settings in admin
get-started/quickstart-name-tone Screenshot needed — save as: _assets/images/get-started/quickstart-name-tone.png

The Name & tone settings. Enter a display name and pick a tone.

3
Add your first training source

Go to Sources in the sidebar and click Add source. Select Website URL and paste in your homepage or a key page like your pricing or FAQ page.

DGbot will crawl the page and any linked pages automatically.

Open Sources in admin
get-started/quickstart-add-source Screenshot needed — save as: _assets/images/get-started/quickstart-add-source.png

Click Add source and select Website URL.

Start with your most important pages
Add your homepage, pricing page, and support FAQ first. You can add more sources later — the bot gets smarter with each one.
4
Wait for the Ready badge

DGbot processes your content in the background. When training is complete, the source shows a green Ready badge. Most sources finish in 30–60 seconds.

get-started/quickstart-ready Screenshot needed — save as: _assets/images/get-started/quickstart-ready.png

A green Ready badge means training is complete and the bot can answer from this source.

Large sites take longer
Sites with hundreds of pages may take a few minutes. Training continues in the background — you don't need to wait on this screen.
5
Test your bot in the preview

Click Preview in the top bar to open a live chat preview. Ask questions your customers typically ask. Check that the answers are accurate and the tone matches your brand.

Open Preview in admin
get-started/quickstart-preview Screenshot needed — save as: _assets/images/get-started/quickstart-preview.png

The Preview panel lets you test the bot before embedding it on your site.

6
Embed the widget on your website

Go to Deploy → Embed widget and copy the script tag. Paste it into your website's HTML before the closing tag.

Open Deploy in admin
html
<script
  src="https://dgbot.dgtech.co.in/static/widget.js"
  data-chatbot-id="YOUR_CHATBOT_ID"
  defer
></script>

Replace YOUR_CHATBOT_ID with the ID shown in the admin panel. The widget appears on your website immediately after the page reloads.

Platform-specific guides
Using WordPress? See the WordPress embed guide. Using Shopify? See the Shopify embed guide. Both have step-by-step instructions for pasting the snippet without editing code directly.

What's next

Your bot is live. Here's how to make it better:

  • Add more sources — the more content you upload, the more questions the bot can answer
  • Set up suggested replies — give visitors conversation starters they can tap
  • Enable the live inbox — get notified when a visitor wants to speak to a human
  • Review self-learn suggestions — DGbot learns from handoffs and proposes knowledge base improvements
Your bot is live!
The chat widget is now embedded and active on your website. Visitors can start chatting immediately.