duki.ai

How IT Works

Set up your AI assistant in 7 steps

From account creation to embedding the chat widget on your site.

1
Register and create a project

Sign up, then create your first project to keep settings, data, and analytics organized.

2
Create your AI

Pick a base model and a default language. Name your assistant so it’s easy to identify across environments.

3
Branding: colors & logo

Set primary color, bubble colors, and upload your logo. The widget and chat app will reflect your brand automatically.

4
Add a system prompt

Describe your assistant’s role, tone, and do/don’t guidelines. Keep it concise and task‑focused for best results.

5
Add content to the knowledge base

Provide FAQs, docs or links your AI should use when answering. Keep content organized and up to date.

6
Test & refine

Ask real questions, review answers, and tweak the prompt/knowledge. Repeat until the tone and accuracy fit your needs.

7
Embed the AI widget on your site

Add one script tag to your website. You can place it before </body> on every page where you want the chat button to appear.

<!-- Duki Chat Widget -->
<script defer src="https://cdn.duki.ai/widget.js?project=YOUR_PROJECT_ID"></script>

Replace YOUR_PROJECT_ID with your project’s ID. Optional parameters include language and side placement.

Tip: After embedding, open your site and click the chat button to verify it loads. If your site uses a strict CSP, allow cdn.duki.ai.
Next steps
  • Hook up analytics: listen to duki:event and duki:chat:* to track usage.
  • Localize: set your language and direction (e.g., Hebrew/Arabic RTL) in project settings.
  • Iterate: keep your knowledge base fresh and your prompt aligned with new goals.